I felt very useful, so I recorded it.
Usage: Code Write it to a text file and change its suffix to. bat.
Finally, double-click it to automatically identify the junk file.
The Code is as follows:
@ 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 \*.*
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 \*.* "
Echo system LJ cleared!
Echo. & pause
In fact, I am not very familiar with the language in this Code. It may be batch processing. However, we can see that it is clear about the suffix files. however, the website said that it could sweep out 2 GB of space. My system may be used too long. After cleaning, the remaining space on the drive C is still more than 200 MB, and only 150 MB is cleaned, it seems that you have to think about other methods. however, I think this method is quite practical, so I will certainly be able to record it today.