I am trying to use robocopy to update some internal AV clients that are not working. They will update once I the files are copied manually in.
I've tried the following robocopy script, but can't get it to execute.
for /f "usebackq tokens=*" %%T in ("serverlist.txt") do (robocopy C:\.. \\%%T\C$\.... /s /e >> script.txt)
Edit.
Turns out this was a valid script I had called the file robocopy.bat and I was getting the error process already in use, I renamed the file and it worked.
0 Answers