Jump to content

troubles with START /WAIT


decoy5657

Recommended Posts

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 lines

START /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


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

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

  • 3 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...