Say, if I have
- foo.exe
- bar.exe
- baz.exe
How do I run all of them from a batch file asynchronously, i.e. without waiting for the previous program to stop?
Question&Answers:osSay, if I have
How do I run all of them from a batch file asynchronously, i.e. without waiting for the previous program to stop?
Question&Answers:osUsing the START
command to run each program should get you what you need:
START "title" [/D path] [options] "command" [parameters]
Every START
invocation runs the command given in its parameter and returns immediately, unless executed with a /WAIT
switch.
That applies to command-line apps. Apps without command line return immediately anyway, so to be sure, if you want to run all asynchronously, use START
.