Windows7 quickly deletes the system junk file BAT script sharing

  

The computer is getting more and more cards, the computer's response is getting slower and slower, and the system garbage is getting more and more. How can we easily clean up the system garbage with one click? Let us introduce a way to get rid of the system garbage problem, so that your computer often has "slimming", no longer worry about system garbage.

1. Find the Start button on the desktop, click on All Programs - Accessories & mdash; Notepad, create a new Notepad as shown below


2. Copy the red part below, paste it into the newly created text document


Copy the code
The code is as follows: @echo offecho Clear the system garbage process, please wait a moment..... .del /f /s /q %systemdrive%\\*.tmpdel /f /s /q %systemdrive%\\*._mpdel /f /s /q %systemdrive%\\*.logdel /f /s /q %systemdrive% \\*.giddel /f /s /q %systemdrive%\\*.chkdel /f /s /q %systemdrive%\\*.olddel /f /s /q %systemdrive%\ ecycled\\*.*del /f /s /q %windir%\\*.bakdel /f /s /q %windir%\\prefetch\\*.*rd /s /q %windir%\\temp & md %windir%\\tempdel /f /q %userprofile%\\ Cookies\\*.*del /f /q %userprofile%\ ecent\\*.*del /f /s /q "%userprofile%\\Local Settings\\Temporary Internet Files\\*.*"del /f /s /q " %userprofile%\\Local Settings\\Temp\\*.*"del /f /s /q "%userprofile%\ ecent\\*.*"echo Clear system garbage completion! Press any key to continue ……echo. & pause

as shown:


3. Click “Save as ”, name the file For “ Clear system garbage.bat ” is completed, as shown below


4. Click to open the system garbage, press any key to complete, as shown below


5. System garbage cleaning is completed here, for convenience, you can put it on the desktop, so that you can always give the computer "slimming" as shown below


The above is the production of system cleaning. If you are interested, you can make a desktop, which is convenient for the computer system to clean up the garbage at any time.

Copyright © Windows knowledge All Rights Reserved