Friday, February 22, 2008

Deleting the TEMP Directory at Bootup

Normally your TEMP directory can fill with .tmp files, files left over from installs etc.

An easy way to delete it each time you boot is to add the following lines to your AUTOEXEC.BAT file:

@C:\WINDOWS\COMMAND\DelTree /Y C:\WINDOWS\Temp\

No comments: