找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2302|回复: 0

自动清理电脑里的垃圾

[复制链接]
发表于 2008-2-4 00:57:43 | 显示全部楼层 |阅读模式
教大家自己写个程序。

  这个程序是自动清理电脑里的垃圾而不会破坏系统 比很多软件都好。

  打开[开始]-[所有程序]-[附件]-[记事本]

  然后复制以下内容。

  @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 s\*.*

  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\*.*"

  sfc /purgecache '清理系统盘无用文件

  defrag %systemdrive% -b '优化预读信息

  echo 清除系统LJ完成!

  echo. & pause

  复制完保存,就是点记事本左上角的 文件 , 选保存 ,然后更名为“清除系统LJ.bat” 就OK了,以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!就还你一个“苗条”的系统了!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|腾飞在线 ( 冀ICP备05002530号 )

GMT+8, 2026-2-14 02:53 , Processed in 0.065163 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表