Reprinted from: http://zhigang0909.blog.163.com/blog/static/5828965320077221059310/
Teach everyone to write a program by themselves. This program automatically cleans up the garbage in the computer without damaging the system.
Open [start]-[All programs]-[attachments]-[notepad]
Copy the following content.
@ Echo off
ECHO is clearing the System junk file. Please wait ......
Del/f/S/Q % systemdrive %/*. tmp
Del/f/S/Q % systemdrive %/*. _ MP
Del/f/S/Q % systemdrive %/*. Log
Del/f/S/Q % systemdrive %/*. GID
Del/f/S/Q % systemdrive %/*. Chk
Del/f/S/Q % systemdrive %/*. Old
Del/f/S/Q % systemdrive %/recycled /*.*
Del/f/S/Q % WINDIR %/*. Bak
Del/f/S/Q % WINDIR %/prefetch /*.*
RD/S/Q % WINDIR %/temp & MD % WINDIR %/temp
Del/f/Q % USERPROFILE %/cookies S /*.*
Del/f/Q % USERPROFILE %/recent /*.*
Del/f/S/Q "% USERPROFILE %/Local Settings/Temporary Internet Files /*.*"
Del/f/S/Q "% USERPROFILE %/Local Settings/temp /*.*"
Del/f/S/Q "% USERPROFILE %/recent /*.*"
SFC/purgecache 'clear useless files on the system disk
Defrag % systemdrive %-B 'optimized pre-read information
Echo system LJ cleared!
Echo. & pause
After copying and saving, click the file in the upper-left corner of notepad, select Save, and rename it "clear system LJ. bat is OK. In the future, you only need to double-click to run the file. When the screen prompts "clearing the system LJ is complete! You have a slim system !! Now let's look at your computer. Is it fast?