Jump to content

Recommended Posts

Posted

I'm new to Robocopy, but need to use it in a couple projects. This project is simply copying a remote site's daily activity onto our company serve. My script is:

 

robocopy "E:\Local Data" \\servername\companypath /r:5

pause

 

As I understand it, everything in E\Local Data should be copied to the server in the file (companypath). This runs on a Server 2008 scheduled task to run automatically each evening. Before leaving yesterday I created a new file in E:\Local Data (A Test Folder) with a Text.txt file in the folder. Checking it this morning, A Test Folder did not get copied to \\servername\companypath. I named the command copy.bat. Double clicking on the executable and letting it run still does not copy the new folder/file. As the pause is there, I would also have expected to see the screen each morning with instructions to hit a key to close it. This does not occur either.

 

What am I missing?

 

Thank you in advance for any assistance!

 

Dale

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...