I want to get a simple .bat file script to run once a week to copy files from one share to another. Can someone tell me the line I should put in it using robocopy? It has to point to where the robocopy command is on the system it runs on, and then copy a directory from one server to another. I also need to it to copy even if somebody has the file open, and it needs to copy permissions over.
Im going to setup a scheduled task to run it. Im not sure how the command should read. Thanks