M
MordacNM
Is it possible to take a list of 1000+ machine names (pc-1234, etc.) that
appear in a text file (one to a line) process (via batch) 25 at a time then
go on to the next group of 25.
My current batch file processes one machine at a time and I'd like it to
use the START cmd to open 25 instances of another batch file that does
robocopy and psexec then exits. I'd like to limit the number of cmd
windows open at a time since the commands that run from the other batch
will keep my machine rather busy with file copying.
I've thought about somehow using the "tokens=m-n" option in the FOR command
but there doesn't seem to be an (obvious) way to process a limited number
at any one time.
Thanks
appear in a text file (one to a line) process (via batch) 25 at a time then
go on to the next group of 25.
My current batch file processes one machine at a time and I'd like it to
use the START cmd to open 25 instances of another batch file that does
robocopy and psexec then exits. I'd like to limit the number of cmd
windows open at a time since the commands that run from the other batch
will keep my machine rather busy with file copying.
I've thought about somehow using the "tokens=m-n" option in the FOR command
but there doesn't seem to be an (obvious) way to process a limited number
at any one time.
Thanks