Many times the installation of software more and more, some of the software generated temporary files, garbage files often exist in the C-Disk system disk, the day of the night tired directly resulting in the availability of the system disk space is getting smaller, until there is no extra space,
The last possible result is a system exception, the software does not work properly, at this time can be through other third-party software tools or anti-virus, security guard, such as clean up more comprehensive or reinstall the operating system, but this will be very troublesome,
After that, we need to install all kinds of necessary software, configuration and so on, sometimes to clean up without installing other software, it is easy to clean up most of the garbage or temporary cache files through the following batch processing Clear.bat.
The batch content is as follows:
echo "is cleaning up the system garbage and temporary files, 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\*.*
The above save as Clear.bat, placed in any convenient location can (in addition to the above listed path O (∩_∩) o~), need to clean up, double-click to execute the batch file, wait a little.
Clean the C-drive system Junk file-batch mode