3

I want to write a .bat file that starts executing another few .bat files, without waiting for the 1st to complete before going to the next one. Spawning multiple cmd.exe commands is OK.

I tried doing

call script1.bat
call script2.bat

from the "main" batch file, but this runs synchronously.

1 Answer 1

7

I found a way of accomplishing this by using start instead of call:

start script1.bat
start script2.bat

This works pretty much like double-clicking the script files, only from the command-line :-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .