Discussion Locked

Automatic deletion of files in Temp

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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?

1 reply

This discussion is closed to new replies.