Hi,
Try ROBOCOPY. Type
robocopy /? at the command prompt to see the options. You are probably interested in the
/MOVE AND
/MAXAGE:n switches.
Example:
Code:
robocopy E:\DataFiles Z:\Backup\DataFiles /MOVE /MAXAGE:365
Moves all files in E:\DataFiles that are older than 365 days into Z:\Backup\DataFiles. robocopy commands can be incorporated into batch files just like copy or xcopy.
Regards,
Golden