To copy a file to multiple computers first create a txt file with all the computer names in it. Place the file you want to copy in an accessible location for all the machines. Run the following command:
for /f %a in (pclist.txt) do copy /y \\server\share\file.txt \\%a\c$\
This "should" copy the file to the machines listed assuming you have remote access.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment