I have a folder that I've been archiving files. This folder is getting large, so I need to archive anything that is more than 2 months old. Is there a bat script that someone has that I can use to move files base on create date from Folder1 to Folder2?
Folder location is as followed:
Folder1:
\\nt-1\data\backup\Archive
Folder2:
\\nt-2\data\backup\ArchiveOldFiles
So I want a script that can look into the Archive folder and see files that has been created that's more than 2 months old. Move those files to the folder ArchiveOldFiles. Any examples or script someone can provide me? This would be a bat file where I can schedule to run like once a month or something.