1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Delete Files older than 1 Week

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

Click here to banish ads and support Certforums by becoming a Premium Member
  1. jackd

    jackd Megabyte Poster

    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

    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