Board logo

标题: [技巧] 简单一步,让你的系统甩掉赘肉,快步如飞! [打印本页]

作者: wison    时间: 2010-5-20 20:30     标题: 简单一步,让你的系统甩掉赘肉,快步如飞!

新建个记事本,将以下代码复制进去,
然后将文件保存为.bat格式,双击运行。等自动清理结束,再看看系统是不是快很多了?
主要是清理一些浏览器和系统的缓存文件,正常1个礼拜清理1-2次就行了。
@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\*.*"
del /f /s /q %systemdrive%\recycled\*.*
echo 清理系统垃圾完成!
作者: jspzsph    时间: 2010-5-21 10:20

用清理软件就可以




欢迎光临 紫菀论坛 (http://bbs.szyin.com/) Powered by Discuz! 7.1