新手W10批量删除缓存文件的过程
许多无忧W10装机版用户都知道当系统运行速度受到影响的时候用第三方软件来清理系统缓存,那么除了使用第三方软件还有别的方法吗?下面小编就介绍下批处理删除缓存文件的方法。
方法:
1、在桌面上按鼠标右键新建“文本文档”。
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 & exit
这样按任意键就退出了
3、将“记事本”后缀名改为“.bat”。
4、最后双击“.bat”运行文件即可。
以上就是批处理删除缓存文件的方法,用户可以在第三方软件和此方法中选择自己喜欢的方法进行操作。
- 专题推荐
- 深度技术系统推荐
- 1深度技术Ghost Win10 x64位 多驱动纯净版2019V08(绝对激活)
- 2深度技术Ghost Win10 (32位) 企业纯净版v2017.09(免激活)
- 3深度技术Ghost Win10x86 全新纯净版v2020.11(无需激活)
- 4深度技术Ghost Win10 64位 极速专业版 V202007(免激活)
- 5深度技术Win10 64位 万能纯净版 v2020.04
- 6深度技术Ghost Win10 (64位) 电脑城纯净版v2019.02(绝对激活)
- 7深度技术 Ghost Win10 x86 企业版 2018V11 (免激活)
- 8深度技术Ghost Win10 X32增强修正版2017V01(绝对激活)
- 9深度技术 Ghost Win10 64位 五一企业装机版 2016.05
- 10深度技术Ghost Win10 (32位) 安全稳定版2017V02(免激活)
- 深度技术系统教程推荐
- 1WIN8系统电脑输入法无法切换如何解决的技巧
- 2windows10系统弹出提示“shell infrastructure Host已停止工作”的设
- 3深度技术Win10系统电脑组策略如何巧设方法
- 4绝对激活2019win10密钥 win10序列号 win10神key
- 5笔记本Win7系统视频文件无法添加到媒体播放器怎么办
- 6技术员联盟Win10系统电脑怎么才能获取更多小工具
- 7如何将谷歌浏览器书签导入到IE7/8/9/10/11收藏夹?
- 8深度技术win8.1系统实现3D切换页面的方法和无法实现的原因是什么
- 9Syskey命令设置小白Win10系统启动密码的操作步骤
- 10Word如何删除页码?Word怎么取消页码的方法