Easily clean up Windows XP system garbage

  

Computers will always produce a variety of junk files when used for a long time. When the accumulation is too small, you will feel that the system is running very slowly. How to clean up these junk files, and how about a clean and brisk operating system? I think many of my friends will have their own methods, such as software cleaning systems such as optimization masters and magic rabbits. I also have a method here, which is a simple and quick way to look at it: use batch processing.

Create a new notebook and enter the following in it:

@echo off

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 %windir%*.bak

del/f/q %systemdrive%ecycled*.*

del/f/q %windir%prefetch*.*

rd/s/q %windir% emp & md %windir% empemp% &md %temp%

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

del /f/q %userprofile%ecent*.*

rd/s/q "%userprofile%Local SettingsTemporary Internet Files"

cls & echo system garbage removal completed :)

echo. & pause

Tips:

The above code can be copied and pasted directly into the newly created text. If you know the system well, you can add other lines of code to clean up more system junk files.

After the input is complete, save it as a file with the suffix "bat", such as "zol.bat". When your system needs to clean up the garbage, double "zol.bat" file, wait a moment, the screen will prompt "system garbage removal completed:). (As shown below) Your system has been much cleaner since then.


Copyright © Windows knowledge All Rights Reserved