巧妙用dos命令清理系统垃圾方法
当我们长时间的运行Win7系统之后,Win7系统中就会产生很多的垃圾文件,导致系统运行速度的下降。今天小编教给大家一种使用DOS命令清理Win7系统垃圾文件的方法。
  在电脑屏幕的左下角按“开始程序附件记事本”,把下面的文字复制进去(黑部分),点“另存为”,路径选“桌面”,保存类型为“所有文件”,文件名为“清除系统LJ.bat”,就完成了。记住后缀名一定要是.bat你的垃圾清除器就这样制作成功了!
  然后回到桌面你会发现多了一个文件.双击它就能很快地清理垃圾文件,大约15秒不到 如果你电脑垃圾文件太多,很久没处理的话,可能要1分钟左右!
  ======就是下面的文字=======================
  @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
  =====到这里为止(这行不用复制)============================
  运行界面如下:

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。