Windows system junk file removal? Batch processing to help you busy

  
                

Everyone knows that in the process of using Windows, the "footprint" left in the computer, that is, the legendary "garbage" left in Windows, has always been a headache, then How to clean up this system junk file? Don't worry, I will introduce you to a good method today, and use batch processing to help you, so that your garbage is not hidden.

The specific steps are as follows: Br>

1) Open “Notepad or WordPad”, enter the following:

@echo off

echo is cleaning up 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 %\\tem p & md %windir%\\temp

del /f /q %userprofile%\\cookies\\*.*

del /f /q %userprofile%\ ecent\\*.*< Br>

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 Clean up the system garbage!

echo. & pause

2) Then save as a .bat file.

3) Finally, double-click this batch file to clear some junk files of the system!!! In fact, the above batch processing function can also be realized directly by using a scripting language, but the script file is easy to encounter during the running process, and the "Windows Scripting Host - script execution error" is

Copyright © Windows knowledge All Rights Reserved