Sysadmin Notebook
Monday, 23 May 2011
Delete files older than... in windows
You can use robocopy:
ROBOCOPY C:\work C:\trash /move /minage:14
or xcopy
xcopy *.* /d:04-12-2006 C:\trash
and at the end:
rmdir /s /q C:\trash
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment