Delete multiple files in folder by date
-
I am looking to accomplish the following task: Every 24 hours I would like something to delete all files in a specified folder older than, for example, 7 days with no user interaction. I was thinking of writing it as a script or a service or a small app...what would you recommend as a god solution for accomplishing this? I am leaning towards service but not sure how to create one...hehe
Thanks, Taen Karth
-
I am looking to accomplish the following task: Every 24 hours I would like something to delete all files in a specified folder older than, for example, 7 days with no user interaction. I was thinking of writing it as a script or a service or a small app...what would you recommend as a god solution for accomplishing this? I am leaning towards service but not sure how to create one...hehe
Thanks, Taen Karth
-
I would recommend a script or a small application, as you run it so seldom. There is no reason to clog the memory with a service that is used 0.01% of the time.
--- b { font-weight: normal; }
Should i use WSH, WMI, BAT? Any recommendations there?
Thanks, Taen Karth