Win8批量刪除緩存文件的過程
許多Win8用戶都知道當系統(tǒng)運行速度受到影響的時候用第三方軟件來清理系統(tǒng)緩存,那么除了使用第三方軟件還有別的方法嗎?下面小編就介紹下批處理刪除緩存文件的方法。
方法:
1、在Windows8桌面上按鼠標右鍵新建“文本文檔”。
2、復制以下代碼粘貼到記事本內(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批處理刪除緩存文件的方法,用戶可以在第三方軟件和此方法中選擇自己喜歡的方法進行操作。
相關(guān)文章:
1. 中興新支點操作系統(tǒng)全面支持龍芯3A3000 附新特性2. 優(yōu)化Windows操作系統(tǒng)的程序運行3. Windows操作系統(tǒng)圖形化維護完全攻略(圖)4. Win XP操作系統(tǒng)急速啟動最新技巧5. Windows操作系統(tǒng)“安全模式”的應(yīng)用6. 深度操作系統(tǒng)15.5Beta版怎么樣?主要更新了哪些內(nèi)容?(附下載地址)7. Windows XP操作系統(tǒng)虛擬專用網(wǎng)絡(luò)揭秘8. VMware下安裝Windows Vista操作系統(tǒng)9. 七招制造安全的Windows XP操作系統(tǒng)10. Win XP操作系統(tǒng)下光驅(qū)使用技巧
