windows7垃圾批处理器的编辑方法

电脑使用一段时间后,垃圾文件就会变多,下面给出的是清理垃圾文件的方法!

  1、新建一个txt文本文件;

电脑使用一段时间后,垃圾文件就会变多,下面给出的是清理垃圾文件的方法!

  1、新建一个txt文本文件;

Win7垃圾批处理器的编辑方法
 

  2、打开文本文件,输入以下内容:

Win7垃圾批处理器的编辑方法
 

  @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 %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
 

  3、点击“文件”–“文件另存为”,文件名的结尾从txt改为bat,保存类型选择“所有文件”;

Win7垃圾批处理器的编辑方法
 

  右键保存出来的bat文件,以管理员身份运行即可。

想了解更多的windows7疑难怎么解决关注<计算机技术网(www.ctvol.com)!!>

本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。

ctvol管理联系方式QQ:251552304

本文章地址:https://www.ctvol.com/win7st/23736.html

(0)
上一篇 2020年4月13日
下一篇 2020年4月13日

精彩推荐