当前位置:主页 > Windows7系统教程 >
Win10系统中打造一键清理系统垃圾文件BAT脚本
更新时间:2016-06-01 作者:win7系统下载 来源:www.win71234.com
最新Win10系统中打造一键清理系统垃圾文件BAT脚本,由系统下载吧率先分享:
很多用户当电脑使用久后,都会发现变得越来越卡了,反应越来越迟钝了,系统垃圾也越来越多了的问题。其实系统垃圾的拥堵对于系统运行速度有着直接的关系,为了帮助用户摆脱系统垃圾难题,现小编给以Win10 32位专业版为例,给大家分享Win10系统中打造一键清理系统垃圾文件BAT脚本。具体如下:
1、点击“开始——程序——附件——记事本”,创建一个新的记事本。
2、将以下代码内容复制到新建的文本文档里
@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 Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统垃圾完成!按任意键继续……
echo. & pause
3、点击“文件——另存为”,文件名为“ 清除系统垃圾.bat ”,文件类型选择“所有文件”。
4、双击运行刚建立好的清除系统垃圾.bat文件,完成后关闭即可。
为了方便以后随时给电脑系统清理垃圾,随时给电脑“瘦身”,可将它放于桌面上。
1、点击“开始——程序——附件——记事本”,创建一个新的记事本。
2、将以下代码内容复制到新建的文本文档里
@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 Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统垃圾完成!按任意键继续……
echo. & pause
3、点击“文件——另存为”,文件名为“ 清除系统垃圾.bat ”,文件类型选择“所有文件”。
4、双击运行刚建立好的清除系统垃圾.bat文件,完成后关闭即可。
为了方便以后随时给电脑系统清理垃圾,随时给电脑“瘦身”,可将它放于桌面上。
相关Windows7系统教程推荐
- 找不到系统自带的U大师Win10专业版系统 OEM密钥,怎么办? 2017-03-02
- 360安全卫士保护Win10系统 妙用360安全卫士保护番茄花园Win10系 2016-04-10
- 如何关闭win10系统 135 137 445等危险端口的方法? 2018-05-14
- 雨木林风Win10装机版设置纯色桌面背景的步骤 2017-08-14
- 系统下载吧详解“2014年游戏机只是玩游戏的时代了”。 2016-07-28
- win10企业版系统文件资源管理器里的“库”不见了怎么办? 2017-11-22
- 风林火山win8.1系统更新显卡驱动后出现花屏原因及处理方法 2016-09-16
- 雨林木风Win10系统,提高电脑运行速度 2016-05-15
- 系统吧详解“删除Win8系统图标上的小黄锁方法?” 2016-07-28
- win7如何激活office2007|win7装完office2007后的激活办法 2018-09-03
win7 64位系统排行
-
1电脑公司GHOST WIN7 x64 家庭旗舰版2021.05(绝对激活)
电脑公司Win764位 /
下载 -
2深度技术GHOST WIN7 X64位 经典旗舰版 v2019.12月(激活版)
深度技术Win764位 /
下载 -
3番茄花园 Ghost Win7 x64 SP1 2014.06 极速装机版
番茄花园Win764位 /
下载 -
4雨林木风 GHOST WIN7 SP1(64位)官方通用版 V2015.09
雨林木风Win764位 /
下载 -
5雨林木风 GHOST WIN7 SP1 X64 元旦装机版 2016.01
雨林木风Win764位 /
下载 -
6深度技术 Ghost Win7 X64 装机版 2016.06
深度技术Win764位 /
下载
Windows7系统教程推荐
- 关闭WIN7系统手势功能的方法12-06
- 禁用移动设备执行权限05-15
- 如何设置通知中心为免打扰状态?01-12
- 妙用PCBoost为Ghost XP系统加速的操作方法02-28
- 软媒Win7如何设置滑动屏幕实现关机?10-06
- 深度完美Win10装机版如何卸载360浏览器?05-06
- 秋叶w10系统mhw格式是什么格式?mhw文件怎样点击?04-20
- 浅析大白菜w10系统出现哪些问题时应排查电容故障10-01
- 用户可以选择更方便的雨林木风Win10系统05-15