I am running this batch file and it works great to copy a file to all my networked pc using a text file with the system names within the for loop. If the machines are turned on it does the copy but if they are off it wont copy and I dont know which ones didnt get the file.
Here is my batch file
@echo on
for /F %%I in (c:\pcnames.txt) do copy c:\time.bat \\%%I\c$\Docume~1\AllUse~1\StartM~1\Programs\Startup
How can I log all the missed ones to a text file?
Here is my batch file
@echo on
for /F %%I in (c:\pcnames.txt) do copy c:\time.bat \\%%I\c$\Docume~1\AllUse~1\StartM~1\Programs\Startup
How can I log all the missed ones to a text file?