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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Deleting of Files

Status
Not open for further replies.

kcin

Technical User
Jun 26, 2001
5
US
I have a program that automatically creates excel files in a folder. The problem is that after several days this folder can get pretty big. Is there a way to automatically delete the .xls files in the folder on a nightly basis?
 
You can use scheduler to run a batch file every night with a "del path\*.xls". Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top