Say, I have 20 folders named folder0 to folder20 and inside each folder I have a test.bat file. I want to run all the batch files inside each folder at a time through another batch file. If I use the following batch file, it will run the test.bat inside each folder one after another:
FOR /L %%A IN (0,1,20) DO (
cd folder%%A
call test.bat
cd..
)
But how will I run the batch files inside each folder parallely?