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

Win8 桌面捷徑小箭頭移除與恢復:批次檔一鍵操作

編輯:Win8 系統應用技巧

前言

Windows 8 桌面捷徑預設帶有小箭頭標誌,部分使用者偏好乾淨無標誌的桌面。本文提供批次檔(.bat)一鍵移除與恢復小箭頭的方法,操作簡單無需第三方工具。

移除小箭頭

  1. 桌面右鍵 →「新增」→「文字文件」。
  2. 貼上以下程式碼:
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. 另存為 win8_remove_arrow.bat(類型選「所有檔案」)。
  2. 右鍵該檔案 →「以系統管理員身分執行」。
  3. 重新開機即可發現捷徑小箭頭消失。

恢復小箭頭

  1. 同樣建立文字文件,貼上以下程式碼:
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
  1. 另存為 win8_restore_arrow.bat,以系統管理員身分執行,重開機即恢復預設小箭頭。

原理說明

  • 註冊表 Shell Icons 鍵值 29 對應捷徑疊加圖示,指向 imageres.dll,197(透明圖示)即隱藏箭頭。
  • taskkill /f /im explorer.exe 重啟檔案總管套用註冊表變更。
  • 刪除 iconcache.db 清除圖示快取,防止舊圖示殘留。

注意事項

需系統管理員權限執行。修改註冊表前建議備份。此法適用於 Windows 8/8.1/10/11。

Copyright © Windows教程網 All Rights Reserved