Delete files based on age Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › General Scripting › Delete files based on age This topic has 8 replies, 3 voices, and was last updated 6 years, 3 months ago by x_tipu_x. Viewing 1 post (of 1 total) Author Posts MandrakeMember Jul 01, 2014 at 12:19 am #163928 hi I looking for a simple script that I can setup with windows scheduler that it will find files over the age of 5 days and delete them from 1 folder. I Don’t wish it to go deeper or higher just within that folder IE the folder name is “Scans” holding scanned pdfs it also has a sub folder called “peter” which Is for the director. hell have no fury if I delete thing inside his folder hahaha so I just want it to check the scanned folder delete any thing over 5 days without effecting “peter” folder found some interesting scripts and programs but none that do what I need sadly. Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.