Win10怎么使用bat文件一键清理电脑系统垃圾?
Win10怎么使用bat文件一键清理电脑系统垃圾?许多用户在使用电脑的时候,几乎都没有养成定期清理电脑缓存垃圾的习惯,导致电脑随着使用时间的增加电脑就越卡,今天小编就教给大使用bat文件自动清理电脑缓存垃圾吧!
操作方法:
1、右键单击桌面空白处新建一个记事本,输入以下代码
在记事本文件中复制——粘贴下面的代码:
@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 SettingsTemporary Internet Files*.*”
del /f /s /q “%userprofile%Local SettingsTemp*.*”
del /f /s /q “%userprofile%recent*.*”
echo 清除系统垃圾完成,请检查浏览器是否已正常打开!
echo. & pause
2、保存一下,然后修改文件后缀为bat
3、可见效果虽然炫酷,但是作用一般般,就跟右键单击c盘属性选择磁盘清理的效果是差不多的,刮痧。
相关文章:
1. Win7电脑如何连接投影仪?投影仪连接电脑用什么线连接?2. Win10登录提示无法加载用户配置文件怎么办?3. Win10怎么自定义缩放屏幕比例?4. Win10镜像文件怎么用U盘安装?U盘Win10镜像系统安装方法5. Win10浏览器主页被篡改怎么办?一招揪出篡改主页元凶6. win8系统中运行Metro界面IE 跳到桌面版IE浏览器解决方法7. win7系统怎么重装ie浏览器8. 电脑加装显卡需要重装系统吗?Windows电脑换显卡后有必要重新装系统吗?9. 打游戏用Win11好还是Win10好?Win11和Win10玩游戏对比10. Windows7系统如何安装jdk与配置环境变量?