热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

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

电脑使用一段时间后,垃圾文件就会变多,下面给出的是清理垃圾文件的方法!1、新建一个txt文本文件;2、打开文本文件,输入以下内容:@echooffecho正在清除系统垃圾文件,请稍





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

  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% emp & md %windir% emp



  del /f /q %userprofile%COOKIEs*.*



  del /f /q %userprofile%ecent*.*



  del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"



  del /f /s /q "%userprofile%Local SettingsTemp*.*"



  del /f /s /q "%userprofile%ecent*.*"



  echo 清除系统LJ完成!



  echo. & pause



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



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



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





推荐阅读
author-avatar
Chinaexpoinfo
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有