How does Win7 clean up system garbage with one click?

  

When we use Win7 system, we will generate a lot of system garbage, and we will clean it up. In the eyes of many people, it is necessary to use third-party software to clean up the system garbage. In fact, we can clean up the system garbage without using third-party software. If you need it, you can try the following methods.

Specific method:

1, want to clean the system garbage with one key, first create a TXT text.

2, open the text document, copy the following code to the text document:

@echo off

echo is cleaning the system junk 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%\ ecycled\\*.*

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%\ 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 is complete!

Echo. & pause

3. Close the save, then rename the document and change the suffix TXT to bat.

4. Click “ is ”.

5. Double-click to run this file.

6, the operation is completed, the cleaning is over.

One-click automatic cleaning system garbage, it is very convenient to use, just open it every day, double-click to run it, you can clean up the system garbage, one step in place, no operation, than using third-party software Easy to use.

Copyright © Windows knowledge All Rights Reserved