Delete Files older than 1 Week

Discussion in 'Software' started by jackd, Aug 14, 2006.

  1. jackd

    jackd Megabyte Poster

    555
    7
    64
    My forum is scheduled to do backups every day and save them to c:forumbackups is there any software that i can use to delete files older than 1 week from this folder.

    EDIT:or maybe a script would be better?
     
  2. zebulebu

    zebulebu Terabyte Poster

    3,748
    330
    187
    If you're not that familiar with scripting, grab a hold of 4NT from here.

    Scripting isn't really my bag, but, although this isn't a scripting host per se, it does contain a whole host of options for enhancing the command line tools which makes batch scripting easier.

    For instance, your issue could probably resolved something like this:

    DEL /[d-7,1/1/80] /Y \\C:\forumbackups

    The same thing using WSH\VBScript would take a lot more code than that!
     
    Certifications: A few
    WIP: None - f*** 'em

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.