joshdaniels
IS-IT--Management
I created a simple script to copy a couple of files to a directory, I need to repeat this process to clients throughout the network. For example, with a script like this
robocopy "C:\example" "\\comp1001\C$\WINDOWS\system32" /V /NP /R:10 /W:30
I need to increase the counter of the workstation, "comp1001" in this example by +1, to comp1002, comp1003, etc. I've looked in looping the process but only able to find *NIX scripts.
robocopy "C:\example" "\\comp1001\C$\WINDOWS\system32" /V /NP /R:10 /W:30
I need to increase the counter of the workstation, "comp1001" in this example by +1, to comp1002, comp1003, etc. I've looked in looping the process but only able to find *NIX scripts.