Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto delete script anyone?

Status
Not open for further replies.

bitbrain

Programmer
Jun 10, 1999
159
US
I'm looking for a .bat/.cmd script that will automatically delete files more than 30 days old. I'll schedule execution via the 'at' command so the date parameters need to be dynamic.<br>
<br>
Has anyone done this? I'm figuring the dir command with redirection & filters but am open to ideas.<br>
<br>
Thanks in advance!<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top