Discussion Locked

Automatic File Copy

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do you automate in Win2K server a copy of a file in a private directory to a public directory every night? Both are located on the server. Want to keep permissions at both sites the same.

3 replies

by ins413

You have two options. You can use xcopy with the /o option to keep the permissions the same. You can also look into robocopy which is a very powerful tool included in the W2K resource kit. Bot work well but I definitely prefer using robocopy. I just used it on a job recently, and moved the entire file structure from one server to another while keeping all permissions intact, and not one lost file. It is very easy to write a batch file and use task scheduler to run the batch file at any designated time.

Hope this works.

Norm

This discussion is closed to new replies.