The function attached loops through a folders files. It checks a file's create or last modified date. If the file's date is more than a passed number of days, then the file is removed. Note, this function requires the DoFileKill function, which is also in this support database. 
 
 
  
previous page
 
  |