Win8批量刪除緩存文件的過程
許多Win8用戶都知道當(dāng)系統(tǒng)運行速度受到影響的時候用第三方軟件來清理系統(tǒng)緩存,那么除了使用第三方軟件還有別的方法嗎?下面小編就介紹下批處理刪除緩存文件的方法。
方法:
1、在Windows8桌面上按鼠標(biāo)右鍵新建“文本文檔”。
2、復(fù)制以下代碼粘貼到記事本內(nèi)。
@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”運行文件即可。
以上就是Win8批處理刪除緩存文件的方法,用戶可以在第三方軟件和此方法中選擇自己喜歡的方法進(jìn)行操作。
相關(guān)文章:
1. Windows XP操作系統(tǒng)實用技巧兩則2. 統(tǒng)信uos操作系統(tǒng)怎么激活? 統(tǒng)信UOS系統(tǒng)家庭版激活教程3. 內(nèi)置國產(chǎn)操作系統(tǒng)! 統(tǒng)信UOS遠(yuǎn)艦系統(tǒng)盤發(fā)布:399元起 能當(dāng)SSD4. UNIX 操作系統(tǒng)復(fù)雜的關(guān)機(jī)過程5. 深度操作系統(tǒng)20.5發(fā)布 deepin 20.5更新內(nèi)容匯總6. 2020 年 deepin 深度操作系統(tǒng) V20 更新 附更新內(nèi)容7. Windows7操作系統(tǒng)優(yōu)缺點深入分析8. Windows8.1網(wǎng)頁禁止復(fù)制的處理措施9. 新手看招:在Linux操作系統(tǒng)下創(chuàng)建鎖文件10. 深度操作系統(tǒng)15.5正式版怎么樣?新增了哪些內(nèi)容?(附下載地址)
