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

Windows 8 移除桌面捷徑小箭頭:批次檔修改登錄並重建圖示快取

編輯:Win8 系統應用技巧

操作步驟

  1. 桌面右鍵 →「新增」→「文字文件」。
  2. 貼上以下程式碼,另存為 win8_remove_arrow.bat (儲存類型「所有檔案」)。
  3. 右鍵批次檔 →「以系統管理員身分執行」。
  4. 重新開機,小箭頭消失。

批次檔內容 (移除)

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

恢復小箭頭

建立批次檔,內容改為:

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

以系統管理員身分執行並重開機即可恢復。

原理

將捷徑覆疊圖示指向透明系統圖示資源 (imageres.dll,197),並重啟總管重建圖示快取達到隱藏效果。

Copyright © Windows教程網 All Rights Reserved