There are more and more software to clean up the system junk files now, and they all need to be downloaded and installed from the Internet. Such a series of processes are always troublesome, today's small set to teach everyone is the use of simple methods to clean up the system's junk files.
Create a new Notepad on the desktop, and then we open Notepad, and in Notepad, enter the following code:
@echo off
ECHO is clearing the system garbage 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 settingstemporary Internet files*.*"
del/f/s/q "%userprofile%local settingstemp*.*"
del/f/s/q "%userprofile%recent*.*"
echo Clears system garbage complete!
Echo. & Pause
After entering the code, we save the exit and rename the file, but the suffix must be ". Bat", such as "Learning worry-free bat". Then just double-click to open the run on it.