Link to home
Start Free TrialLog in
Avatar of fyrfyter
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,
Avatar of Badotz
Badotz
Flag of United States of America image

Use the FileSystemObject. It is designed specifically for this type of activity.
ASKER CERTIFIED SOLUTION
Avatar of elissaqp
elissaqp
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fyrfyter
fyrfyter

ASKER

Thanks elissaqp. I think this is what I was looking for. Any tips for running it as a scheduled task?