decoy5657 Posted January 26, 2005 Share Posted January 26, 2005 I've written a script that will install a set of applications for a baseload I use at the office when i build computers.here are the first two linesSTART /WAIT "\\servername\smspkg\MICROSOFT OFFICE 2003 SP1\Source\SETUPPRO.EXE"START /WAIT "\\servername\smspkg\CITRIX ICA CLIENT 7.10\WXP\setup.EXE"Now, if that is run, just like it is, it will immediatly pop open another CMD prompt and take me to C:\WINDOWS and NOT launch the application that is in quotes. I think the quotes are screwing it up.If I remove the quotes it will say that the path is invalid because of the spaces.If anyone has any ideas about what I'm doing wrong, or if I could use a VBS script to launch the files, that would be fine also. I'm just looking for a way to install the "typical" 50 programs that our office needs. Link to comment Share on other sites More sharing options...
IcemanND Posted January 26, 2005 Share Posted January 26, 2005 try using 8.3 filenames probably something like:START /WAIT "\\servername\smspkg\MICROS~1\Source\SETUPPRO.EXE"START /WAIT "\\servername\smspkg\CITRIX~1\WXP\setup.EXE"with or without the quotes. Link to comment Share on other sites More sharing options...
decoy5657 Posted January 26, 2005 Author Share Posted January 26, 2005 nope. same deal Link to comment Share on other sites More sharing options...
Noise Posted January 26, 2005 Share Posted January 26, 2005 The 1st set of quotes are expected to be a description. Use this:START "Office Setup" /WAIT "\\servername\smspkg\MICROS~1\Source\SETUPPRO.EXE"START "Citrix Install" /WAIT "\\servername\smspkg\CITRIX~1\WXP\setup.EXE" Link to comment Share on other sites More sharing options...
decoy5657 Posted January 26, 2005 Author Share Posted January 26, 2005 The 1st set of quotes are expected to be a description. Use this:START "Office Setup" /WAIT "\\servername\smspkg\MICROS~1\Source\SETUPPRO.EXE"START "Citrix Install" /WAIT "\\servername\smspkg\CITRIX~1\WXP\setup.EXE"Yup! Thanks! Link to comment Share on other sites More sharing options...
RBCC Posted February 12, 2005 Share Posted February 12, 2005 Could that be used in this case D:\<offdir>\setup.exe transforms= setup.mst? Link to comment Share on other sites More sharing options...
wardenm Posted February 12, 2005 Share Posted February 12, 2005 Or you could of course just forget 'start' altogether. The command line interface waits for an application to terminate by default. Unless you require the additional functionality of start, theres really no point to using it. Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted February 12, 2005 Share Posted February 12, 2005 The 1st set of quotes are expected to be a description. Use this:Didn't know about that....I was going to say: use double backslashes in the path, that has worked for me in the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now