Running batch files synchronous

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

When a batch file runs, and you set it to call on another batch file to run part way through, it stops whilst running the second script and then continues. Is there a way to have both running synchronously to save time??

Any advice much appreciated, TIA
 
Hello,

When a batch file runs, and you set it to call on another batch file to run part way through, it stops whilst running the second script and then continues. Is there a way to have both running synchronously to save time??

Any advice much appreciated, TIA

Yes.

Use the Start command. See tip 364 in the 'Tips & Tricks' at
http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
FYI: what you are asking is to "how run two batch files asynchronously" --
NOT synchronously.

The behavior you described, where if one batch file calls another, it stops
and waits until the other finishes, is synchronous execution.

As Jerold stated, the "START" command allows batch files to asynchronously
launch another command.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
Hello,

When a batch file runs, and you set it to call on another batch file to run
part way through, it stops whilst running the second script and then
continues. Is there a way to have both running synchronously to save time??

Any advice much appreciated, TIA
 
Back
Top