Clear your temp files out quickly
I’m posting this primarily so I don’t forget it, but this is a quick and simple batch script that will recursively (and without stopping on locked files!) clean out the system temp directory, and the temp directory of the user that is running it.
REM ClrTmp.bat @echo off del "%TEMP%\*.*" /s /f /q for /d %%d in (%TEMP%\*) do rmdir "%%d" /s /q del "%WINDIR%\TEMP\*.*" /s /f /q for /d %%d in (%WINDIR%\TEMP\*) do rmdir "%%d" /s /q