In computing, a temporary folder or temporary directory is a directory used to hold temporary files.As the name implies, the temp folder contains files that are only needed temporally. Unfortunately, these files don’t always get deleted after their job is done, resulting in wasted drive space. To open the temp folder simply press Window Key + R and then type %TEMP% Once there, you can manually delete files and subfolders. But you probably can’t delete all of them. Windows won’t let you do away with those currently in use. That’s fine. You don’t want to delete those ones anyway. In fact, you really don’t want to delete any files created since the last time you booted your PC. So if you shut down Windows every night (and I mean shut it down, not sleep or hibernate), and boot clean every morning, you can safely delete any files in Temp not dated today. Better yet, you can use an old-fashioned, DOS-style batch file to automatically clean out the folder every time you boot. Here’s how:
Open Notepad, and type or paste this line:
del %TEMP%\*.* /f /s /q
Save the file as %appdata%\microsoft\windows\start menu\programs\startup\cleantemp.bat
This will delete all the temp file at startup.And there is another way you an use CCleaner or other freeware tools to clean your temporary folders.