General discussion
October 17, 2001 at 12:02 PM
gkeel

Automatic deletion of files in Temp

by gkeel . Updated 24 years, 10 months ago

Platform: Windows 2000 Professional

In the past I used a batch file to delete all of the files in the users temp file by using deltree on the temp directory and then md to make the directory again. I have tried several variations of this in Windows 2000 by using delete *.* /s/q and erase *.* /s/q but that only seems to delete the files and does not remove the subdirectories under temp.

I want to be able to clear out the temp folder at boot up each time. I have run into too many problems caused by temp folders getting too large.

Does anyone have a remedy?

This discussion is locked

All Comments