- you have a folder d:\files, it has files in the root and in sub-folders
- the first line will move all files over 90 days to d:\files\temp
- the second line will delete d:\files\temp
ROBOCOPY D:\files\ D:\files\temp /s /move /minage:90
RD /S /Q D:\files\Temp
No comments:
Post a Comment