DeleteOldFiles |
Top Previous Next |
×V4.4Ø
Syntax - DeleteOldFiles <FolderPath> <NumberOfDays> Where: <FilePattern> is a path that is accessible from the workstation on which EMUE is running or an FTP server. <NumberOfDays> is an integer or a variable that contains an integer.
Description: This command is used to delete files that were created more than <NumberOfDays> ago that exist files in the directory specified by <FolderPath>. The path can be any location that can be accessed by the user logged into the computer whether it be local, network, or FTP.
Sample 1: In the following sample, EMUE is instructed to delete all files in the ProviderUpdate directory that are more than 365 days old. DeleteOldFiles "C:\EMUE\ProviderUpdate" "365"
Sample 2: In the following sample, EMUE is instructed to delete all files in the network location specified that are more than 100 days old. DeleteOldFiles "Z:\Reports" "100"
|