The world's most "green" system garbage cleanup tool

  
        Every day, a lot of system garbage is generated in the system. When your system partition is filled inexplicably, what do you choose? Is the installation optimization software automatically clean up the system garbage? Or manually cleaned up according to the online tutorial? The former may cause system failure, and the software must be installed separately. The latter has technical thresholds and is cumbersome to operate. Open "Notepad" and write a few lines of batch processing! Immediately you will have the most "green" garbage removal tool in history.

The most common junk files wanted

In the junk files generated by daily use of Windows, which guys suddenly play an "important role"? (See the table below)
Extension type generation reason TMP/_MP temporary file installation software/software operation generates LOG log file software operation/error when writing hard disk
GID help index is generated when using help system The temporary index CHK disk check file accidentally restarts when checking the disk, the system tries to recover the data OLD/BAK temporary backup file software temporary file generated during the installation/upgrade

OLD/BAK temporary backup file software installation/upgrade Temporary files

One minute yourselfDevelopment
Clean up tools

Don’t imagine the development software so mysterious, use the system's own batch processing, you can take only one minute Develop a cleanup tool yourself. Open "Notepad", write the cleanup code according to the following rules, save the file name as "cleansys.bat" after completion, the file name can be taken, but the extension must be "BAT", you need to double-click to run when you clean up.

@echo off

del /f /s /q %systemdrive%\\*.tmp

del /f /s /q %windir%\\*.bak< Br>

del /f /s /q "%userprofile%\\Local Settings\\Temp\\*.*"

Tip: "del /f /s /q" means delete all subdirectories All files, including read-only files, are not required, and "%systemdrive%" is a system variable that the system recognizes and points to the correct directory.

Copyright © Windows knowledge All Rights Reserved