Subscribe to Windows IT Pro
October 06, 1997 12:00 AM

JSI Tip 0274 - Delete files older than xx days.

Windows IT Pro
InstantDoc ID #71600
Rating: (0)

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 <Drive:>\Directory\*.DOC 60"

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

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.