|
Scott and Gary,
In the Windows 2000 Resource Kit (and
probably elsewhere) there is a utility called "forfiles.exe" that will do the
job. I use it in a batch file that runs daily via scheduled
task to delete old files.
The batch file looks like this:
rem
Delete FTP data files on the server older than 14 days. forfiles -pe:\ftpdata -s
-d-14 -c"cmd /c rem
Delete log files older than 90 days forfiles -pe:\iftplog -s
-d-90 -c"cmd /c Andy
------------- Note: This message is only intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us by telephone (604-888-2079) or electronically by return message, and delete or destroy all copies of this communication. Thank you. |
<<attachment: 49_i_blue.gif>>
<<attachment: Cream_stripes_cream_border2.gif>>
