Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win8/8.1 移除桌面捷徑小箭頭:批次檔一鍵修改登錄表與圖示快取

編輯:關於 Windows

Win8/8.1 桌面捷徑預設有小箭頭覆蓋圖示,若想純淨顯示,可透過修改登錄表 Shell Icons 值 29 指向透明圖示資源 (imageres.dll,197) 並重建圖示快取達成。

一鍵移除批次檔內容

@echo off
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t REG_SZ /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer

使用方法

  1. 桌面右鍵 → 新增 → 文字文件,貼上上述碼。
  2. 另存為 RemoveArrow.bat (類型選「所有檔案」)。
  3. 滑鼠右鍵 → 以系統管理員身分執行。
  4. 螢幕閃爍 (explorer 重啟) 後,捷徑小箭頭消失。

恢復小箭頭批次檔

@echo off
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer

同樣以管理員身分執行即可恢復預設箭頭。

移除前後對比

原理: Shell Icons 29 對應捷徑覆蓋圖示索引,imageres.dll,197 為 1x1 透明圖示。刪除快取 iconcache.db 強制重建圖示資料庫。Win10/11 同樣適用。

Copyright © Windows教程網 All Rights Reserved