Win8批量刪除緩存文件的過程
許多Win8用戶都知道當(dāng)系統(tǒng)運(yùn)行速度受到影響的時(shí)候用第三方軟件來清理系統(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. /dev/tty文件在Unix操作系統(tǒng)中的妙用2. Windows8.1寬帶連接出現(xiàn)錯(cuò)誤651如何解決3. Windows XP操作系統(tǒng)恢復(fù)功能完全攻略4. Pear OS 8——仿蘋果風(fēng)格的免費(fèi)Linux操作系統(tǒng)下載及使用5. 銀河麒麟操作系統(tǒng)(KyLin)常用問題及解決方法6. UNIX操作系統(tǒng)tar命令之隱患及解決方法7. 操作系統(tǒng)下,WinXP輕而易舉變“蘋果”8. 開源操作系統(tǒng)Unix :SunOS 4.1.1上手體驗(yàn)9. 常見的操作系統(tǒng)有哪些類型?常見的五大操作系統(tǒng)類型詳細(xì)介紹10. Windows8臉部識(shí)別登錄API曝光

網(wǎng)公網(wǎng)安備