Sunday, April 14, 2013

Delete files in a directory that is older than specified

Delete all files in C:\temp which was older than 04/14/2013.
c:\temp> forfiles /D -04/13/2013 -c "cmd /c rmdir /s /q @file"

No comments: