Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win8 清理 Metro 應用程式快取:手動刪除與批次檔自動化

編輯:Win8 系統應用技巧

Windows 8 Metro 應用程式 (現代應用) 長期使用會累積大量快取檔案 (INetCache, INetCookies, INetHistory),佔用 C 槽空間並導致系統變慢。Metro 應用缺乏內建清理功能,需手動或腳本清理。

手動清理步驟

  1. 開啟檔案總管 → 「檢視」→「選項」→「檢視」→ 勾選「顯示隱藏的檔案、資料夾及磁碟機」、取消勾選「隱藏受保護的作業系統檔案」
  2. 按 Win+R 輸入路徑進入 Metro 應用資料夾:
    %userprofile%\AppData\Local\Packages\
  3. 進入目標應用資料夾 (如 PPTV:PPTV.PPTVHD_svvymaqds8vhm\AC\)
  4. 刪除三個快取資料夾:INetCache、INetCookies、INetHistory
  5. 其他 Metro 應用同理操作

Metro 應用快取資料夾

批次檔自動化清理

建立文字檔貼入以下程式碼,存為 clean_metro_cache.bat,雙擊執行:

@echo off
set "pkg_path=%userprofile%\AppData\Local\Packages"
for /d %%a in ("%pkg_path%\*") do (
    if exist "%%a\AC\INetCache" rd /s /q "%%a\AC\INetCache"
    if exist "%%a\AC\INetCookies" rd /s /q "%%a\AC\INetCookies"
    if exist "%%a\AC\INetHistory" rd /s /q "%%a\AC\INetHistory"
)
echo Metro 應用快取清理完成
pause

以系統管理員身分執行可清理所有使用者的 Metro 快取。

期待改善

期待 Windows 8.1/10 內建 Metro 應用快取清理功能,或優化工具 (CCleaner 等) 完整支援現代應用快取掃描清理。

Copyright © Windows教程網 All Rights Reserved