Reputation: 13
I tried to put this into a example.bat call= blahblah.exe call= example.bat /wait blahblah.exe
but the above does not wait, it will call the example.bat as soon as the blahblah.exe runs.
I want to start the example.bat when the WHOLE blahblah.exe has finished. thanks
Upvotes: 0
Views: 2531
Reputation: 175826
You can use start
. If you wanted to run a.bat
, execute b.exe
then run c.bat
when it exits;
a.bat
:
start /wait b.exe
call c.bat
Upvotes: 1