I have some EXE programs,Want to run using batch file one after another.
Actually one set contains 2 EXE programs with some parameters.
Example.
@echo off
start prog1.exe
start prog2.exe
/---wait untill prog1.exe and prog2.exe finish--/
start prog3.exe
start prog4.exe
To run the .exes sequentually you need to pass the /wait parameter to start
e.g.
@echo off
start /wait prog1.exe
start /wait prog2.exe
start /wait prog3.exe
start /wait prog4.exe
However that does not run start1 and 2 in parallel. For more complex use see answers to this question
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With