|
 
- 威望
- 1484
- 金钱
- 1316
- 在线时间
- 55 小时
- 最后登录
- 2009-8-3
|
沙发
发表于 2009-4-17 17:00
| 只看该作者
用记事本新建一个文本文档,输入以下内容:
@echo off
pause
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 清理系统垃圾完成!
echo. & pause
保存为“一键清理系统垃圾文件.bat”就可以了。
然后关闭记事本,双击刚刚建立的bat格式文件,按操作进行就可以了! |
|