This is an old revision of the document!
Delete Files older than X days
Example Delete all files with starting with blah in Folder “FolderName” older than 30 days.
forfiles -p C:\FolderName -m blah*.* /d -30 -c "cmd /c del @path"
This is an old revision of the document!
Example Delete all files with starting with blah in Folder “FolderName” older than 30 days.
forfiles -p C:\FolderName -m blah*.* /d -30 -c "cmd /c del @path"