Win7系统一键清理垃圾bat程序
时间:2022-11-14 21:26:01
一键清理垃圾bat是一个专门用来清理系统垃圾的批处理文件,它的使用方法非常简单,打开之后就能自动为用户清理系统中的各种垃圾文件,包括临时文件和日志缓存等等,它不仅清理速度快,而且具有非常好的效果,完全可以用来代替各种系统优化清理的软件。下面,小编给大家讲解Win7如何制作一键清理垃圾bat程序。
Win7一键清理垃圾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 Internet Files*.*”
del /f /s /q “%userprofile%Local SettingsTemp*.*”
del /f /s /q “%userprofile%ecent*.*”
echo 清除系统LJ完成!
echo. & pause
记事本重命名:清除系统LJ.bat(复制这个名称)
保存即可,双击运行。
可是清除垃圾
根据提示,点击窗口,点击键盘任意键结束,完成清理。
经过深度清理,恢复电脑的运行速度
轻松方便快捷,做成bat后放置在桌面。
新建记事本-打开放入代码-保存关闭
重命名记事本
完成,双击运行
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
PPT绘制立体的透明五角星效果的详细步骤
![](https://img.aspxhome.com/file/2023/10/a350161_0s.jpg)
如何使用金山文档实现团队协作编辑文档
![](https://img.aspxhome.com/file/2023/1/a184561_0s.png)
Win10重装系统后找不到硬盘怎么办?Win10重装系统后找不到硬盘解决方法
![](https://img.aspxhome.com/file/2023/8/52208_0s.png)
如何设置 excel 图表区的样式
![](https://img.aspxhome.com/file/2023/7/a154487_0s.png)
在wps表格中如何使用求和公式
word2013中如何使用代码高亮插件
![](https://img.aspxhome.com/file/2023/7/18777_0s.jpg)
Win10如何自动切换桌面壁纸让每时每刻都不一样
![](https://img.aspxhome.com/file/2023/28/a249370_0s.jpg)
Win7系统下QQ截图在哪个文件夹?
![](https://img.aspxhome.com/file/2023/5/a314443_0s.jpg)
excelisna函数如何运用
微商相册APP怎么取消关注?微商相册APP取消关注的方法
![](https://img.aspxhome.com/file/2023/8/a335679_0s.png)
Win10运行《永远的伊苏2》异常怎么办?
![](https://img.aspxhome.com/file/2023/5/a315939_0s.jpg)
Excel如何批量插入表头
![](https://img.aspxhome.com/file/2023/0/42870_0s.jpg)
Excel中表格函数及使用的方法
如何开启aero特效?Win7旗舰版开启aero特效的详细教程
![](https://img.aspxhome.com/file/2023/1/a275895_0s.jpg)
怎么取消打印机的打印任务?
![](https://img.aspxhome.com/file/2023/26/a223024_0s.png)
wps文字怎么调整表格行距图文教程
win10鼠标指针大小和颜色怎么设置?
![](https://img.aspxhome.com/file/2023/28/a248998_0s.jpg)
win7电脑怎么设置ipv6地址?win7设置ipv6地址的操作步骤
![](https://img.aspxhome.com/file/2023/28/a241327_0s.jpg)
excel怎么在表格中画斜线
iOS12.4.2使用体验怎么样,老设备推荐升吗?
![](https://img.aspxhome.com/file/2023/5/a196755_0s.jpg)