SteveAudus
Technical User
I have a batch file i'd like to run on all my 90 workstations.
The file contains the such lines as
rmdir \\5001\c$\temp
md \\5001\c$\temp
rmdir \\5001\c$\winnt\profiles /S /Q
xcopy \\Server\profiles\replace\*.* \\5001\c$\winnt\ /E /H /C /Q
as you can see \\5001 is the name of the workstation.
I'd like to repeat the commands for each workstation,
is there any quick way of repeating the commands
for all the workstation, without having to copy
the commands and manualy changing the workstation name
on each line?
i.e 5001 to 5002 to 5003 etc..
Any suggestions?
Steve Audus
Chaucer Community School
The file contains the such lines as
rmdir \\5001\c$\temp
md \\5001\c$\temp
rmdir \\5001\c$\winnt\profiles /S /Q
xcopy \\Server\profiles\replace\*.* \\5001\c$\winnt\ /E /H /C /Q
as you can see \\5001 is the name of the workstation.
I'd like to repeat the commands for each workstation,
is there any quick way of repeating the commands
for all the workstation, without having to copy
the commands and manualy changing the workstation name
on each line?
i.e 5001 to 5002 to 5003 etc..
Any suggestions?
Steve Audus
Chaucer Community School