清理垃圾 bat清除垃圾的BAT代码

清理垃圾 bat  时间:2022-02-23  阅读:()

如何用批处理命令清理电脑里的垃圾文件

首先建立记事本,再输入如下内容后保存,注意扩展名要改成.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% ecycled*.* 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 Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile% ecent*.*" echo 清除系统LJ完成! echo. & pause

怎么自制清除垃圾.bat文件?

先新建文本, 复制下面字符代码,

保存后,

更改文本后缀名,

把“.txt"改为".bat”保存,

即可制成清除垃圾.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% ecycled*.* 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 Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile% ecent*.*" echo 清除系统LJ完成! echo. & pause

参数之间要加空格的 用我的试试!

如何制作清理系统垃圾文件.bat?

[强烈推荐]30秒清除你电脑中的垃圾(使你电脑急速如飞)(高手已测) 要轻松流畅上网你是否注意到你的电脑系统磁盘的可用空间正在一天天在减少呢?是不是像老去的猴王一样动作一天比一天迟缓呢? 是不是游戏一天一天慢下来呢? 没错!在Windows在安装和使用过程中都会产生相当多的垃圾文件,包括临时文件(如:*.tmp、*._mp)日志文件(*.log)、临时帮助文件(*.gid)、磁盘检查文件(*.chk)、临时备份文件(如:*.old、*.bak)以及其他临时文件。特别是如果一段时间不清理IE的临时文件夹“Temporary Files”,其中的缓存文件有时会占用上百MB的磁盘空间。这些LJ文件不仅仅浪费了宝贵的磁盘空间,严重时还会使系统运行慢如蜗牛。这点相信你肯定忍受不了吧!所以应及时清理系统的LJ文件的淤塞,保持系统的“苗条”身材,轻松流畅上网!朋友来吧,现在就让我们一起来快速清除系统垃圾吧!!下面是步骤很简单就两步! 在电脑屏幕的左下角按“开始→程序→附件→记事本”,把下面的文字复制进去(黑色部分),点“另存为”,路径选“桌面”,保存类型为“所有文件”,文件名为“清除系统LJ.bat”,就完成了。记住后缀名一定要是.bat,ok!你的垃圾清除器就这样制作成功了! 双击它就能很快地清理垃圾文件,大约一分钟不到。 ======就是下面的文字(这行不用复制)============================= @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% ecycled*.* 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 Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile% ecent*.*" echo 清除系统LJ完成! echo. & pause =====到这里为止(这行不用复制)============================================== 以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!就还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢?可别忘了回帖喔! 这招比那些所谓的优化大师好用!最重要的是无论在公司默认的系统环境还是在自己家中的电脑都不会破坏系统文件 绝对不会删除系统和有用的文件!

关于清除系统垃圾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% ecycled*.* 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 s*.* del /f /q %userprofile% ecent*.* del /f /s /q "%userprofile%Local SettingsTemporary Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile% ecent*.*" sfc /purgecache '清理系统盘无用文件 defrag %systemdrive% -b '优化预读信息 echo 清除系统LJ完成! echo. & pause 然后保存为BAT文件就可以了。。

自己做“一键清理系统垃圾文件中.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%\recycled\*.* del /f /s /q %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /s /q "%userprofile%\Local Settings\Temporary Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" echo 清除系统垃圾完成! echo. & pause 复制以上到记事本,保存为BAT(清除垃圾.bat)文件,双击运行 "%userprofile%这个指的是你的系统用户地方C:Documents and SettingsAdministrator DEL参数 DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names names 指定一个或数个文件或目录列表。通配符可被用来 删除多个文件。如果指定了一个目录,目录中的所 有文件都会被删除。 /P 删除每一个文件之前提示确认。 /F 强制删除只读文件。 /S 从所有子目录删除指定文件。 /Q 安静模式。删除全局通配符时,不要求确认。 /A 根据属性选择要删除的文件。 attributes R 只读文件 S 系统文件 H 隐藏文件 A 存档文件 - 表示“否”的前缀 如果命令扩展名被启用,DEL 和 ERASE 会如下改变: /S 开关的显示句法会颠倒,即只显示已经 删除的文件,而不显示找不到的文件

用.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% ecycled*.* 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 Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile% ecent*.*" echo 清理系统垃圾完成! echo. & pause 文件的扩展名为.bat就行了

清除垃圾的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% ecycled*.*     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 Files*.*"     del /f /s /q "%userprofile%Local SettingsTemp*.*"     del /f /s /q "%userprofile% ecent*.*"     echo 清除系统LJ完成!     echo. & pause

  • 清理垃圾 bat清除垃圾的BAT代码相关文档

易探云2核2G5M仅330元/年起,国内挂机宝云服务器,独立ip

易探云怎么样?易探云是国内一家云计算服务商家,致力香港服务器、国内外服务器租用及托管等互联网业务,目前主要地区为运作香港BGP、香港CN2、广东、北京、深圳等地区。目前,易探云推出深圳或北京地区的适合挂机和建站的云服务器,国内挂机宝云服务器(可选深圳或北京地区),独立ip;2核2G5M挂机云服务器仅330元/年起!点击进入:易探云官方网站地址易探云国内挂机宝云服务器推荐:1、国内入门型挂机云服务器...

PhotonVPS:美国Linux VPS半价促销2.5美元/月起,可选美国洛杉矶/达拉斯/芝加哥/阿什本等四机房

photonvps怎么样?photonvps现在针对旗下美国vps推出半价促销优惠活动,2.5美元/月起,免费10Gbps DDoS防御,Linux系统,机房可选美国洛杉矶、达拉斯、芝加哥、阿什本。以前觉得老牌商家PhotonVPS贵的朋友可以先入手一个月PhotonVPS美国Linux VPS试试了。PhotonVPS允许合法大人内容,支持支付宝、paypal和信用卡,30天退款保证。Photo...

GeorgeDatacenter:洛杉矶/达拉斯/芝加哥/纽约vps云服务器;2核/8GB/250GB/2TB流量/1Gbps端口,$84/年

georgedatacenter怎么样?GeorgeDatacenter是一家2017年成立的美国商家,正规注册公司(REG: 10327625611),其实是oneman。现在有优惠,有几款特价VPS,基于Vmware。支持Paypal付款。GeorgeDatacenter目前推出的一款美国vps,2核/8GB内存/250GB NVMe空间/2TB流量/1Gbps端口/Vmware/洛杉矶/达拉...

清理垃圾 bat为你推荐
微信收款语音播报怎么设置微信收付款如何设置声音提示开票系统怎样开普通发票系统附清单溢出隐藏overflow:hidden:溢出隐藏了。webcrackwebcrack4.0拓扑关系拓扑关系在GIS中的作用备忘录模式为什么我的华为手机界面总是有个框框在备忘录上面索引超出了数组界限求助大神什么叫索引超出了数组界限系统论坛怎么进论坛51信用卡论坛51信用卡贷了1200 现在还不上怎么办数据分析报告范文如何做一个好的数据分析报告
国内vps 服务器配置技术网 arvixe 博客主机 视频存储服务器 vmsnap3 mediafire下载 360抢票助手 网通代理服务器 华为4核 亚洲小于500m 免费网站申请 申请网页 万网空间购买 中国电信宽带测速器 web服务器搭建 服务器是干什么用的 视频服务器是什么 东莞服务器托管 个人免费邮箱 更多