I a batch script that calls a process and it waits for the process to complete before going to the next line by default. Is there a way (or a switch) for it NOT to wait and just run the process and continue? I am using Windows 2008.
DOESN'T WORK. -
Joshua
2010-04-08 17:53:51
A:
Use powershell and use the new-job syntax.
PS> new-job { command }
You can check what jobs you have running using the jobs command.
Joshua Smith
2010-03-16 03:08:29
+3
A:
Why not just start somecmd.exe
or start "" "some command with spaces.exe"
?
Note that if your command has spaces, you must put quotes around it, but if the first argument to start
has quote around it the command is the second argument, so I have two sets of quotes there.
Gabe
2010-03-16 03:16:26