JSI Tip 0274 - Delete files older than xx days.

Jerold Schulman

October 5, 1997

1 Min Read
ITPro Today logo in a gray background | ITPro Today

DELOLD is a freeware Visual Basic utililty that can delete files older than xx days in the target directory. It can be run from the command line, batch file, or a shortcut.

One of my favorite uses is to schedule the deletion of *.DOC files from a network share (using the local path) when the document is 60 days old:

AT \ServerHostingShare 01:00 /interactive /every:M,T,W,Th,F,S,Su "DELOLD Directory*.DOC 60"

Install DELOLD somewhere in the System Path. See the readme file for additional information.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like