Win8批量刪除緩存文件的過(guò)程
許多Win8用戶都知道當(dāng)系統(tǒng)運(yùn)行速度受到影響的時(shí)候用第三方軟件來(lái)清理系統(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”運(yùn)行文件即可。
以上就是Win8批處理刪除緩存文件的方法,用戶可以在第三方軟件和此方法中選擇自己喜歡的方法進(jìn)行操作。
相關(guān)文章:
1. 批量更改Windows操作系統(tǒng)文件名2. Win2000/XP:操作系統(tǒng)命令syskey3. 通過(guò)備份Windows 7" 兩個(gè)激活文件"實(shí)現(xiàn)重裝操作系統(tǒng)后的自行激活4. 教程/操作系統(tǒng) 榨干Windows XP的最后一滴油5. Windows操作系統(tǒng)運(yùn)行命令全集6. 一步步圖解Windows XP操作系統(tǒng)的快速安裝7. Windows XP操作系統(tǒng)忘記密碼怎么辦?8. 七招打造最安全的Windows XP操作系統(tǒng)9. 50招Win XP操作系統(tǒng)應(yīng)用技巧(1)10. Win10X電腦操作系統(tǒng)啟動(dòng)不了光驅(qū)怎么辦?
