I want to write a batch file that will move files of a certain extension that are older than 30 days to an archive directory. For example, move all .txt files in C:\someFolder\otherFolder to D:\anotherFolder\archive that were created 30 or more days ago.
How can I get the current date to compare to the date the file was created?
How can I specify that only a certain type of file be moved?
Is this type of thing possible in a batch file or should I use something else?
Thanks for any help.
_________________
[url= http://www.shabugames.com/genres/Time_Management/index.html] time management games[/url] mortgage atlanta
How can I get the current date to compare to the date the file was created?
How can I specify that only a certain type of file be moved?
Is this type of thing possible in a batch file or should I use something else?
Thanks for any help.
_________________
[url= http://www.shabugames.com/genres/Time_Management/index.html] time management games[/url] mortgage atlanta
