My temp folder is currently 2.47GB. My virus scan spends forever looking through there, and since 2.47GB is more than half the size of my last computer's storage space, I have this question: can I just delete all contents of my windows\temp folder?
Not responsible for any harm that may come of your PC, the operating system, or end user installed programs
I have been deleting the \temp folder for years now without any problems. It's usually from poorly coded extraction programs that don't remove the temporary archives as well as a couple other things that *shouldn't* cause any harm.
Usually yea - it's just temporary files that installations put in there among other stuff. My cousin who has never emptied his temp dir in the year and a half he's had it had 4 GB in his temp folder and everything worked fine after I emptied it for him.
TMPDELIS.BAT is a batch file created by many installation programs that tells the system to delete whatever dross remains from the installation on reboot.
The first nukes the contents of C:\WINDOWS\TEMP only if that file is not present. The rest of these clears up a lot of garbage that builds up in IE. Don't worry about the subdirectories under these directories. Windows rebuilds them on reboot.
The redirect, >NUL, just tells the sytem not to bother telling me about it.