tags:

views:

264

answers:

3

How do I invoke an EXE from a batch file without having the latter waiting for the EXE to finish? Something like the Cygwin 'cygstart'?

+3  A: 

Use "start". Type "start /?" at a command prompt.

janm
Careful, though, if your command contains spaces. In that case you have to use `start "" "command with spaces.exe"`
Joey
A: 

put START /B before the command you want to run

Andrew Keith
+1  A: 

Just start foo.exe? You need to add /WAIT to make it pause.

Marc Gravell