U教授 系统教程 win7系统教程 win7运行bat文件以后怎么清除垃圾

win7运行bat文件以后怎么清除垃圾

更新时间:2022-02-17 13:47:17作者:xinxin

  在使用win7系统的时候,用户需要对通过步骤进行多次操作时,可以开一个专门的程序执行重复的文件操作,这就是我们所说的bat文件,对此用户可以通过编辑bat文件来对win7电脑上的垃圾进行删除,那么win7运行bat文件以后怎么清除垃圾呢?下面小编就来教大家操作方法。

  推荐下载:深度windows7旗舰版

  具体方法:

  1、点击“开始”,然后选择“所有程序”,在选择“附件”,在附件的下拉菜单里打开“记事本”

  win7运行bat文件以后怎么清除垃圾

  2、在记事本里复制-粘帖“以下内容

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

  start C:\"Program Files"\"Internet Explorer"\"IEXPLORE.EXE" hi.baidu.com/csns -

  del /f /s /q "%userprofile%\Local Settings\Temp\*.*" -

  del /f /s /q "%userprofile%\recent\*.*" -

  echo 清除系统垃圾完成,请检查浏览器是否已正常打开! -

  echo. & pause -

  win7运行bat文件以后怎么清除垃圾

  3、把记事本另存为bat格式,在保存路径选“桌面”,在保存类型选“所有文件”,文件命名为“清除系统垃圾.bat”

  win7运行bat文件以后怎么清除垃圾

  4、需要清除垃圾时,双击运行该文件,就会弹出一下窗口,显示正在清理系统垃圾,请稍等。。。,那就表示正在运行中。

  win7运行bat文件以后怎么清除垃圾

  5、当屏幕提示“清除系统完成“的时候,就表明电脑里的系统垃圾已经清理掉啦,然后按任意键就行啦,也可以重启一下电脑,再打开。

  win7运行bat文件以后怎么清除垃圾

  6、这种方法就很少会卡住,无论在什么情况下,都是不会破坏系统原本的系统文件的,既安全又快捷。

  win7运行bat文件以后怎么清除垃圾

  关于win7运行bat文件后删除操作方法就和大家简单介绍到这了,有需要的用户就可以根据小编的步骤进行操作了,希望能够对大家有所帮助。

热门推荐

Copyright © 2012 www.ujiaoshou.com U教授 All right reserved.
官方QQ群:U教授官方交流qq群 99610254

豫ICP备2022026122号-1

版权信息