Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

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 :-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.