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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move files by access, modified or create date

Status
Not open for further replies.

bjh1960

IS-IT--Management
Jun 29, 2006
2
US
I am looking for a way to move files to another location (keeping all security and pathing) of files that haven't been accessed, modified, or created by a certain date with possible exclude certain directories.

I am trying to clean up files that are abandoned, but no one wants to delete and move them to a NAS box.

If anyone knows how to do this or knows of a product that works well, I would appreciate it.

Thanks,
Brett
 
VBScript is the way to go. Using the file system object you can selct fiels by date or last modified and meet all of your other criteria.

Somebody posted one of my scripts over here: that shows what you want. THe same script is somewhere out here on Tek-Tips too.



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.
 
If you want to avoid the scripting aspect, the Windows Resource kit ROBOCOPY program should be able to do this for you fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top