现在位置: 首页 > 博客文章 > 电脑相关 > IT实用 > 正文
制作清除系统垃圾的小程序
2014年11月14日 03:17:55 IT实用 ⁄ 共 972字 暂无评论 ⁄ 被围观 1,099次

在电脑屏幕的左下角按“开始→程序→附件→记事本”,把下面的代码复制进去,点“另存为”,路径选“桌面”,保存类型为“所有文件”,文件名为“清除系统LJ.bat”,就完成了。记住后缀名一定要是.bat,ok!你的垃圾清除器就这样制作成功了!

Code   ViewPrint
  1. @echo off   
  2. echo 正在清除系统垃圾文件,请稍等......   
  3. del /f /s /q %systemdrive%\*.tmp   
  4. del /f /s /q %systemdrive%\*._mp   
  5. del /f /s /q %systemdrive%\*.log   
  6. del /f /s /q %systemdrive%\*.gid   
  7. del /f /s /q %systemdrive%\*.chk   
  8. del /f /s /q %systemdrive%\*.old   
  9. del /f /s /q %systemdrive%\recycled\*.*   
  10. del /f /s /q %windir%\*.bak   
  11. del /f /s /q %windir%\prefetch\*.*   
  12. rd /s /q %windir%\temp & md %windir%\temp   
  13. del /f /q %userprofile%\cookies\*.*   
  14. del /f /q %userprofile%\recent\*.*   
  15. del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"   
  16. del /f /s /q "%userprofile%\Local Settings\Temp\*.*"   
  17. del /f /s /q "%userprofile%\recent\*.*"   
  18. echo 清除系统LJ完成!   
  19. echo. & pause  

双击它就能很快地清理垃圾文件,大约一分钟不到。

以后只要双击运行该文件,当屏幕提示“清除系统 LJ 完成!就还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢?可别忘了回帖喔!

注:LJ就是垃圾的意思!这招比那些所谓的优化大师好用!最重要的是无论在公司默认的系统环境还是在自己家中的电脑都不会破坏系统文件

给我留言

留言无头像?