PURGEQUAR

Program file:

PURGEQUARG2.EXE
 

Purpose:

This tool is used to age and delete old message files in the Praetor\Quar folder.
 

Usage:

PURGEQUARG2  <full path>  <#-of-days-retention> [ /FOLDERSONLY ]

Data path is the directory location where the *.EML message files can be found.

/FOLDERSONLY is an optional parameter which tells the program to delete date-style subfolder names at the destination path, and their contents.  These subfolders were created by the MOVEQUAR tool.

Example:

PURGEQUARG2 "C:\Program Files\CMS Praetor G2\Quar" 5

This invocation will take Praetor *.EML message files found in the folder path C:\Program Files\CMS Praetor G2\Quar and delete those that are older than 5 days.

PURGEQUARG2 "C:\G2-Quar" 30 /FOLDERSONLY

This invocation will take all date-style named subfolders found at the destination path C:\G2-Quar that are older than 30 days.

You can also use this to purge old files that are in the archive folder by specifying a path of "C:\Program Files\CMS Praetor G2\Archive".

Other:

You can display a help screen by invoking this program with '?' as the one and only parameter.

This command is invoked by the daily maintenance scheduled task.

 

Overview