教你个简单管用的方法

来源: 2009-06-30 18:03:24 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

1. 在桌面上创建个notepad(text document)文件。

2,把下面的文字复制(从“第二步” 复制到“echo. & pause”)到notepad.


第二步:@echo off
echo 正在清除系统垃圾文件,请稍等......
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%\recycled\*.*
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%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统LJ完成!
echo. & pause




3, 点“file", save as, 然后把"save as type"选成All Files, file name改成“清除系统垃圾.bat". 注意, 一定要是" .bat"结尾。

4,运行“清除系统垃圾.bat”文件,让它运行, 大概有几分钟时间, 等看到显示“press any keys to continue”的时候就可以退出了。然后看看电脑是不是快了很多?

主要功能就是通过清除系统垃圾来加快电脑运行