Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple batches

Status
Not open for further replies.

cybercop23

IS-IT--Management
Aug 12, 2001
103
US
Hi. I'm trying to create a batch file that will be kicked off by the command scheduler, that will in turn kick off three other batches at the same time. Each batch runs about 30 minutes, so I want to kick them all off at the same time, as opposed to sequentially. Here's what I mean:

Commnad Scheduler will kick off runbatch.bat
Runbatch.bat will kick off batch1.bat, batch2.bat and batch3.bat at the same time.

I can use the "call" command or the cmd /k or /c, but the main batch waits for the first called batch to finish before it will kick off the next one.

Any ideas? Thanks in adance.
 
Call transfers control to other batch files... it does not allow for simultaneous execution. To do that, use START.

START Batch1
Start Batch2
Start batch3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top