I have a text file of computer names that I would like to update with a file stored on a server. For example, to use robocopy for instance:
\\server1\robocopy "\\server1\FileToCopy" "computer1\c$\documents and settings\all users\desktop" /e /XO /R:3 /W:3
Except instead of hard coding the computer name in the script, I would like to loop through a file of computer names. Is there a way to do this using robocopy, or is there a better way?