清理垃圾 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核4G服务器一年

感恩一年有你!免费领取2核4G套餐!2核4G轻量应用服务器2核 CPU 4GB内存 60G SSD云硬盘 6Mbps带宽领取地址:https://cloud.tencent.com/act/pro/lighthousethankyou活动规则活动时间2021年9月23日 ~ 2021年10月23日活动对象腾讯云官网已注册且完成实名认证的国内站用户(协作者与子用户账号除外),且符合以下活动条件:账号...

tmhhost:全场VPS低至6.4折,香港BGP200M日本软银美国cn2 gia 200G高防美国三网cn2 gia韩国CN2

tmhhost放出了2021年的端午佳节+618年中大促的优惠活动:日本软银、洛杉矶200G高防cn2 gia、洛杉矶三网cn2 gia、香港200M直连BGP、韩国cn2,全都是高端优化线路,所有这些VPS直接8折,部分已经做了季付8折然后再在此基础上继续8折(也就是6.4折)。 官方网站:https://www.tmhhost.com 香港BGP线路VPS ,200M带宽 200M带...

美国高防云服务器 1核 1G 10M 38元/月 百纵科技

百纵科技:美国云服务器活动重磅来袭,洛杉矶C3机房 带金盾高防,会员后台可自助管理防火墙,添加黑白名单 CC策略开启低中高.CPU全系列E52680v3 DDR4内存 三星固态盘列阵。另有高防清洗!百纵科技官网:https://www.baizon.cn/联系QQ:3005827206美国洛杉矶 CN2 云服务器CPU内存带宽数据盘防御价格活动活动地址1核1G10M10G10G38/月续费同价点击...

清理垃圾 bat为你推荐
photoshop在线有没有在线PS网站?策略组简述组策略的概念 急急急策略组电脑组策略详解jdk6java—JDK6,在SUN公司官网下载的链接,丁奇赛尔号丁奇技能表,带等级,刷什么学习力好?欢迎页面怎样取消“欢迎页面”?memsql易语言的msql连接怎么不成功,错哪呢?清除电脑垃圾怎样彻底清除电脑的垃圾菜霸为什么现在都在说生意难做?easeljs如何使用createjs来编写html5游戏
香港虚拟空间 私服服务器租用 江西服务器租用 a2hosting 瓦工 t楼 arvixe 42u机柜尺寸 免费个人博客 ev证书 jsp空间 刀片式服务器 阿里校园 广州服务器 免费phpmysql空间 永久免费空间 可外链的相册 后门 hostease 服务器托管价格 更多