Schedule robocopy run
- by xeonet
I have Windows Server 2008 Enterprise. I need to copy files from network folder, I connected as a Z: drive. I need to schedule the copy. In scheduler I run it every 5 minutes.
robocopy.exe Z:\ C:\destination /E
I've tried to put it to .bat file, tried to write in scheduler, it doesn't help.
I've set run with highest privilegies...
Task Scheduler successfully completed task "\RoboCopy" , instance "{dd2d2d1c-4ef1-4e30-b226-4a77aa52dab9}" , action "C:\Windows\SYSTEM32\cmd.exe" with return code 16.