Windows 8 桌面捷徑預設有小箭頭標識,可透過批次檔修改登錄移除,並提供恢復指令。


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
pause

.bat → 確定


同樣建立 .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
pause
以管理員身分執行即可恢復預設箭頭。
原理:利用空白圖示資源 (imageres.dll,197) 覆蓋預設箭頭圖示,並重建圖示快取。