正文

清理系统2007-03-23 21:54:00

【评论】 【打印】 【字体: 】 本文链接:http://blog.pfan.cn/wanlingyun/24214.html

分享到:

         感觉机器一天比一天慢,老是问自己是不是要重作系统了?先别急,你注意到自己的磁盘可用空间一天天减少了吗?也许这是LJ文件在作祟。我们用Windows,免不了就会产生很多LJ,包括临时文件(如:*.tmp、*._mp)日志文件(*.log)、临时帮助文件(*.gid)、磁盘检查文件(*.chk)、临时备份文件(如:*.old、*.bak)以及其他临时文件。如果一段时间不清理IE的临时文件夹“Temporary Internet Files”,其中的缓存文件有时会占用上百MB的磁盘空间,这些LJ占用了你的磁盘“良田”,还会折腾你的系统,别犹豫别舍不得,动手清理吧! 方法1:在电脑屏幕的左下角按“开始→程序→附件→记事本”,把下面的文字复制进去,点“另存为”,路径选“桌面”,保存类型为“所有文件”,文件名为“清除系统LJ.bat”,就算完成了。记住后缀名一定要是.bat,ok!你的垃圾清除器就这样制作成功了! 双击它就能很快地清理垃圾文件,大约一分钟不到。  @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

阅读(1136) | 评论(0)


版权声明:编程爱好者网站为此博客服务提供商,如本文牵涉到版权问题,编程爱好者网站不承担相关责任,如有版权问题请直接与本文作者联系解决。谢谢!

评论

暂无评论
您需要登录后才能评论,请 登录 或者 注册