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

Win7 EXE 捷徑圖示遺失?批次檔一鍵重建圖示快取

編輯:Win7 系統基礎知識

Win7 桌面/工作列捷徑圖示變空白,但功能正常。此為圖示快取 (IconCache.db) 損毀。一個批次檔即可自動重建:

建立修復批次檔

  1. 新建文字文件,貼入以下指令:
taskkill /im explorer.exe /f
cd /d %userprofile%\appdata\local
del iconcache.db /a
start explorer.exe
exit
  1. 另存為 icoRestore.bat(副檔名 .bat)。
  2. 雙擊執行,螢幕會閃爍(explorer 重啟),約 30 秒後圖示自動恢復。

原理:強制結束 explorer → 刪除損毀的 IconCache.db → 重新啟動 explorer 觸發系統重建快取。若無效,進安全模式再執行一次。

Copyright © Windows教程網 All Rights Reserved