This is a quick and easy way to clean out your temp folder, this folder can become very large and full of files that you don’t need, so we will create an batch file to clear this folder on boot-up automatically.
1. On your desktop create a new notepad document. There paste these 2 codes:
rd %temp% /s /q
2. Now go to File>Save As and save it with this name: %appdata%\microsoft\windows\start menu\programs\startup\cleantemp.bat
The temp folder will clean it self on boot up and you wont even notice.