Created
July 20, 2011 19:48
-
-
Save agazso/1095755 to your computer and use it in GitHub Desktop.
Run the same command multiple times in parallel on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Runm: Run the same command multiple times in parallel on Windows | |
REM First argument is the number of processes to be run in parallel | |
REM Second argument is the name of the process to be run | |
REM Change /K to /C if you want to close the windows after the processes are done running | |
FOR /L %%I IN (1,1,%1) DO START CMD /K %2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment