Thanks, Sandeep.

Can you post this batch file in an area where people can access it anytime. I searched for it before posting and did not find it. Or better put it in helpful downloads file forum. I am going to copy your batch file here so people can see it.

forfiles -p "C:\Amazing Charts\Backup" -s -m *.enc* /D -30 /C "cmd /c del @path"

Originally Posted by Sandeep
If you open up notepad

Enter the following line:
Quote
forfiles -p "C:\Amazing Charts\Backup" -s -m *.enc* /D -30 /C "cmd /c del @path"
  • "C:\Amazing Charts\Backup" is the path to your AC Folder.
  • The 30 means clear files older than 30 days. Adjust accordingly.

Then save the file with the extension .bat, that will create a batch file which you can click to run the script. You can also use the task scheduler to make it run on a daily basis.

It's a very useful script. You can use it to clear old faxes in the fax console (Mainpine users) or clear old backups on an external drive.