Delete All the Files in a Folder Older Than 7 Days

Deletes all files in a folder that are older than 7 days.

5 Star
Add to favorites
E-mail Twitter Digg Facebook
  • Improper date arithmetic
    1 Posts | Last post June 02, 2011
    • Subtracting dates from each other the way the author does it is inappropriate in VB Scripts. The function "DateDiff" must be used instead.