who s on duty today:教你如何制作一键清除系统垃圾

来源:百度文库 编辑:中财网 时间:2024/05/05 13:29:33
在电脑屏幕的左下角按“开始→程序→附件→记事本”将以下代码复制到记事本,另存为“清除系统垃圾文件.bat”,同时注意保存类型选择“所有文件”,同时注意保存类型选择“所有文件”,然后运行该批处理文件,即可清除系统日积月累的垃圾文件,隔些日子运行清除一次,可以释放好多空间呢

@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 SettingsTemporary Internet Files*.*”

  del /f /s /q “%userprofile%Local SettingsTemp*.*”

  del /f /s /q “%userprofile%recent*.*”

  echo 清除系统LJ完成!

  echo. &pause

 以后只要双击运行该文件,当屏幕提示“清除系统垃圾完成”!就还你一个干净的系统了!!
到时候再看看你的电脑,是不是急速如飞呢