I have used this batch script to purge file base on their last modified date and provide a log of the files that were deleted. It’s really easy to read and know exactly what it is doing.
I recently recieved a VBS script that did about the same thing but was pages long.
The little script below is what I use now. I love how simple this is:
Got any quick simple tricks? Post them in the comments.