Delete Files Older than a Specified Number of Days

Deletes files that are older than the number of days specified by the variable RetentionPeriod.

 
 
 
 
 
(0)
Add to favorites
Storage
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Terrible Script
    1 Posts | Last post June 02, 2011
    • This script would be fine in a batch environment but it is a butcher's job in a VB Script because it largely ignores the comprehensive date arithmetic functions available in VB Scripts. Subtracting dates from each other is not appropriate in VB Scripts. The DateDiff functions must be used instead.