1.

Solve : How to Run Mulitple .bat file in sequence after one is finished.?

Answer»

I have four .bat file which I made for a task but now I want to put those batch files in a ANOTHER batch file which will run them one by one in the sequence, that is when first batch files is FINISHED second should start automatically and then third and so on. call 1.bat
call 2.bat
call 3.bat
call 4.batOr:

CODE: [Select]@echo off
cd Test
for %%a in (*.bat) do (
set bat=%%a
start %bat% /WAIT
)
echo Done
pause
Note: This may restart the calling batch file, so you should put it in a seperate folder an use the CD COMMAND to change dirs to the folder where you want to call the batch progs.

Hope this helps
,Nick(macdad-)



Discussion

No Comment Found