win8系统下怎么批量清除垃圾文件
当我们使用win8系统一段时间之后,电脑中就会产生大量的缓存和垃圾文件,如果没有及时清理的话,就会占用系统空间影响运行速度,今天小编要教大家一个快速的批量清除垃圾文件的方法,具体步骤如下。
1、在Windows8桌面上按鼠标右键新建“文本文档”;
2、复制以下代码粘贴到记事本内
@echo off
color 1e
for /r c:\ %%a in (*.tmp *.chk *.gid *._mp *.old *.bak *.log) do del /f /s /q "%%a"
for /r c:\windows\temp %%a in (*.*) do del /f /s /q "%%a"
for /r c:\windows\Prefetch %%a in (*.*) do del /f /s /q "%%a"
for /r %userprofile%\AppData\Local\Temp %%a in (*.*) do del /f /s /q "%%a"
for /r "%localappdata%\Microsoft\Windows\Temporary Internet Files" %%a in (*.*) do del /f /s /q "%%a"
for /r %localappdata%\Microsoft\Windows\History %%a in (*.*) do del /f /s /q "%%a"
for /r %appdata%\Microsoft\Windows\Cookies %%a in (*.*) do del /f /s /q "%%a"
for /r %windir%\SoftwareDistribution\Download %%a in (*) do del /f /s /q "%%a"
for /r "%windir%\Downloaded Program Files" %%a in (*) do del /f /s /q "%%a"
for /r %windir%\System32\LogFiles %%a in (*) do del /f /s /q "%%a"
del /f /s /q %systemdrive%\hiberfil.sys
pause
3、将“记事本”后缀名改为“.bat”;
4、最后双击“.bat”运行文件即可。
以上给大家介绍的便是win8系统下怎么批量清除垃圾文件的详细操作步骤,有需要的用户们可以按照上面的方法步骤来进行操作吧。
- 系统教程栏目
- win8系统教程排行
- 1 有效的Win8.1各版本激活密钥永久激活|win8.1通用激活码大全
- 2 Win8.1专业版激活密钥 win8.1专业版永久激活码
- 3 win8.1系统和win10系统哪个好用 win10系统与win8.1区别对比
- 4 Win8.1电脑玩大富翁4出现闪退的2种解决方法
- 5 Win8装win7提示不要在dos下ghost非mbr分区可能会失败如何解决
- 6 Win8系统输入gpedit.msc后提示找不到gpedit.msc怎么办
- 7 最新win8激活密钥永久激活码 win8神key通用序列号
- 8 最新win8.1激活密钥神key永久激活 win8.1专业版|核心板|企业版安装密钥激活码
- 9 正版Win8.1系统升级到win10系统的方法【图文教程】
- 10 Win8系统控制面板中realtek高清晰音频管理器不见了怎么办
- 大家都在使用
- win8系统推荐
- 番茄花园win8 ghost 64位优化专业版v2022.05
- 番茄花园win8 ghost 32位绿色纯净版v2022.05
- 萝卜家园win8 ghost 32位绿色纯净版v2022.05
- 深度技术win8 ghost 32位绿色纯净版v2022.05
- 系统之家win8 ghost 32位标准专业版v2022.05
- 大地系统win8 ghost 32位标准专业版v2022.05
- 技术员联盟win8 ghost 32位标准专业版v2022.05
- 雨林木风win8 ghost 32位标准专业版v2022.05
- 番茄花园win8 ghost 32位优化旗舰版v2022.05
- 电脑公司win8 ghost 32位优化旗舰版v2022.05
- 最新教程
- 1 Windows8系统下ie浏览器取消检查下载程序签名的方法
- 2 Win8系统下清理磁盘空间的方法【图文教程】
- 3 Windows8.1系统下IE10浏览器整理收藏夹的方法
- 4 Win8正式版系统无法正常工作的修复方案
- 5 Win8.1系统下进入用户账户界面的方法【图文详解】
- 6 Win8系统下清空回收站没有声音提示的解决方法
- 7 Win8系统下利用任务计划程序让任务管理器开机自启动的技巧
- 8 Ghost win8系统下关闭鼠标单击锁定功能的方法【图解】
- 9 Win8系统开机显示start pxe over ipv4提示的解决方法【图】
- 10 Ghost win8.1系统下清理网页视频缓存的方法