Jump to content

start cmd issue


bek

Recommended Posts

I noticed that if I run START "\\server\path\setup.exe" it runs, but if it has as space "\\server\path with space\setup.exe" I just get a new, blank cmd window - however if I dont use START, just "\\server\path with space\setup.exe" it runs. I'd prefer to use the START /WAIT option.

Is this bad/missing syntax or is there a workaround?

Link to comment
Share on other sites


I just get a new, blank cmd window

And I guess this new cmd windows have a title called "\\server\path with space\setup.exe"

Look carefully at the START command syntax.

The first quoted strings are for the command prompt title

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
     [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
     [/WAIT] [/B] [command/program]
     [parameters]

   "title"     Title to display in  window title bar.
   path        Starting directory
   B           Start application without creating a new window. The
               application has ^C handling ignored. Unless the application
               enables ^C processing, ^Break is the only way to interrupt
               the application
   I           The new environment will be the original environment passed
               to the cmd.exe and not the current environment.
   MIN         Start window minimized
   MAX         Start window maximized
   SEPARATE    Start 16-bit Windows program in separate memory space
   SHARED      Start 16-bit Windows program in shared memory space
   LOW         Start application in the IDLE priority class
   NORMAL      Start application in the NORMAL priority class
   HIGH        Start application in the HIGH priority class
   REALTIME    Start application in the REALTIME priority class

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...