VB script to delete old backup files

  • If Windows 2003, You can also use FORFILES to delete your files, type FORFILES /? at cmd prompt for more info.

    Delete backup copies older than 2 days

    Use Operating System(CmdExec)

    FORFILES /P F:\Backups\Foldername /S /M *.BAK /D -2 /C "cmd /c del @file"

  • Thank you for your suggestion!

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply