Many partners know that in the operation of the Win7 system, will slowly produce some temporary files, and there are many kinds of temporary files, some of which are Windows temp files, how to delete these windows temporary files? Let's listen to the small one by one.
Method steps:
1. Set up D:userdatatemp catalogue in D disk.
2. Right-click "My Computer" "Properties" "Advanced system Settings" "Advanced" opens the Environment Variables dialog box, changing both the user variable and the system variable to d:userdatatemp.
3, in the C-packing directory, a new text document, write two lines of code:
RD%TEMP%/s/q
MKDIR%TEMP%
Save as *.bat format (such as Cleantemp.bat).
4, open Group Policy (run Gpedit.msc), turn on "Computer Configuration-windows Settings-script (boot/Shutdown)", and then casually open "start" or "Shut down", the effect is the same, one is to clear the temp when the login is off when empty, here I choose "shutdown." Click "Add" to just do the *.bat file import, click "OK" after the setup is completed, when the shutdown will automatically the user generated temporary files to clean.
This is the Win7 way to clear windows temp files, and to make the Win7 system smoother, you need to periodically clean up these windows temp files.