fyrfyter
asked on
VBS script to copy, move, and then delete folders based on age
Experts,
I am looking for a VB script that I can use to copy folders from one server to another, and then delete the folders from there original location based on the folders age. I've been looking around the web and am getting a bit lost. Does anyone have some code they can share with a beginner?
Thanks,
I am looking for a VB script that I can use to copy folders from one server to another, and then delete the folders from there original location based on the folders age. I've been looking around the web and am getting a bit lost. Does anyone have some code they can share with a beginner?
Thanks,
Use the FileSystemObject. It is designed specifically for this type of activity.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks elissaqp. I think this is what I was looking for. Any tips for running it as a scheduled task?