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 移除捷徑小箭頭:註冊表批次檔一鍵操作與還原方法

編輯:關於 Windows

Windows 8 捷徑預設帶有小箭頭標誌,可透過修改註冊表 Shell Icons 鍵值隱藏。本文提供批次檔(.bat)一鍵套用與還原腳本,免安裝第三方優化工具。

隱藏小箭頭批次檔(儲存為 HideArrow.bat,以系統管理員身分執行)

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

還原小箭頭批次檔(儲存為 RestoreArrow.bat,同樣以管理員執行)

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

捷徑小箭頭移除前後對比

原理說明

  • 鍵值 29 對應捷徑覆疊圖示索引,指向 imageres.dll 中第 197 號圖示(透明圖示),即可隱藏箭頭。
  • 刪除圖示快取 iconcache.db 並重啟 Explorer 使變更即時生效。
  • 同樣適用於 Win7/Win10,僅路徑可能因版本略有差異。
Copyright © Windows教程網 All Rights Reserved