新手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 x86 装机版 2016年05月
- 2深度技术Ghost Win10 X32位 完美装机版2017.09月(免激活)
- 3深度技术Ghost Win10 x64位 多驱动纯净版2019V08(绝对激活)
- 4深度技术Ghost Win10 X32增强修正版2017V01(绝对激活)
- 5深度技术Ghost Win10 X64 精选纯净版2021v03(激活版)
- 6深度技术Ghost Win10 (64位) 经典装机版V2017.07月(免激活)
- 7深度技术 Ghost Win10 32位 装机版 V2016.09(免激活)
- 8深度技术Ghost Win10 x64位 完美纯净版2019年05月(无需激活)
- 9深度技术Ghost Win10 x64位 特别纯净版v2018.01(绝对激活)
- 10萝卜家园Windows11 体验装机版64位 2021.09
- 深度技术系统教程推荐