Delete every file older than 30 days


/ Published in: DOS Batch
Save to your folder(s)

I use this for house keeping logs spat out by a ecommerce system- Just wack it in a batch file and setup a windows scheduled task to kick it off.

URL: http://www.shawson.co.uk/codeblog/command-line-to-delete-every-file-older-than-30-days/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.