Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScipt to move network data

Status
Not open for further replies.

JPL910

MIS
Oct 16, 2008
24
US
Hey all. Absolutely new to VBScripts but I have been tasked with the following:

Need to do the following:
1. Daily at 10PM - everything in \\ServerA\source goes to \\ServerB\destination. After the transfer, delete everything from the source. (MOVE?)

2. Daily at 1AM -everything in \\serverC\source goes to \\serverD\destination. Overwrite all files at destination. OK to leave source files.

So, one step needs to move data across the network (no need to overwrite as they are unique) and the other step needs to overwrite the destination files.
I have more of a networking background so this is all new for me. I appreciate any help you can offer.

Thank you,
John
 
Use ROBOCOPY instead of VBScript. It is more comprehensive and easier for you to use.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top