winxp in the Temp folder is the system's temporary folder, the main is to store some of the temporary files generated, these temporary files if you do not clean up in time, you will accumulate more and more, wasting space on the disk, but also to the system will cause disk fragmentation, affecting the system's read and write running speed. How do I clean up these temp folders? Perhaps you will use software to clean up, but the software itself will cause the Temp folder backlog, so we should also learn to clean manually.
Automatic Cleanup method:
1. Establishment of D:USERDATATEMP catalogue in D-disk
02. Right-click My Computer, properties, advanced, open the Environment Variables dialog box, change both the user variable and the system variable to d:userdatatemp.
03. Create a new text document and write two lines of code inside it:
RD%TEMP%/s/q
MKDIR%TEMP%
Then save it as a *.bat format (for example, cleantemp.bat) so that you can automatically empty the files under the Temp folder just by opening the Cleantemp.bat file.
04. After three steps, we can actually clean up the temporary files, but we can't meet them, our goal is to let Windows automatically empty and liberate our hands:
Open Group Policy (run Gpedit.msc), turn on "Computer Configuration-windows Settings-script (boot/Shutdown)", and then open "start" or "Shut down", the effect is the same, one is to empty the temp at login is off when empty, here I choose "Shutdown". Click "Add" to just do the *.bat file import, point "OK" after everything is done.
Through the above operation, in the future you just double click to create a good. bat format file, the WinXP system will automatically clean the Temp folder under the garbage, compared to the use of Third-party software is also more convenient.