以上就是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:windowstemp %%a in (*.*) do del /f /s /q “%%a”
for /r c:windowsPrefetch %%a in (*.*) do del /f /s /q “%%a”
for /r \userprofile%AppDataLocalTemp %%a in (*.*) do del /f /s /q “%%a”
for /r “%localappdata%MicrosoftWindowsTemporary Internet Files” %%a in (*.*) do del /f /s /q “%%a”
for /r %localappdata%MicrosoftWindowsHistory %%a in (*.*) do del /f /s /q “%%a”
for /r %appdata%MicrosoftWindowsCookies %%a in (*.*) do del /f /s /q “%%a”
for /r %windir%SoftwareDistributionDownload %%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%System32LogFiles %%a in (*) do del /f /s /q “%%a”
del /f /s /q %systemdrive%hiberfil.sys
pause & exit
这样按任意键就退出了
3、将“记事本”后缀名改为“.bat” 。
4、最后双击“.bat”运行文件即可 。
以上就是电脑批处理删除缓存文件的方法 , 希望大家喜欢 , 请继续关注我们 。
- 机械师电脑牌子可靠不,性能和性价比高不高?
- 电脑锁屏密码怎么设置?
- Win10电脑锁屏界面设置被组织隐藏怎么办?
- Win10提示你的电脑不信任该网站的安全证书怎么办?
- 电脑玩吃鸡游戏显卡温度高如何处理?
- 手机资料备份,你觉得电脑备份靠谱还是云端备份靠谱?你是怎么备份数据的?
- 准备买个移动硬盘备份电脑数据,有没有什么好用的软件可以实现二者之间的备份?
- 有没有一种备份软件?做到电脑硬盘上文件备份?
- 电脑换了新显卡后显示器不亮怎么办?
- 哪个电脑软件制作视频、卡拉ok音乐和字幕方便?
