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!

move files across network shares

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/overwrite as needed and the other step needs to overwrite the destination files leaving the copies at the source.
I have more of a networking background so this is all new for me. I appreciate any help you can offer.

Thank you,
John
 
Please note that I will need to select ALL the files from the source locations.

John
 
What have you tried so far and where in your code are you stuck ?
BTW, I'd use robocopy instead of VBScript ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top