Reputation: 149
Using Win 7 Professional and trying to write a batch file to launch all batch files in a specified directory.
I see I can use FOR statements but am struggling with getting the syntax correct to get a list of *.bat files and run each one. I get errors about %%f or %%b was unexpected.
Upvotes: 0
Views: 60
Reputation: 149
I was able to launch number of batch files in parallel..
FOR %a in (*.bat) do (start cmd /c "%a")
Upvotes: 1