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

Win7 登錄修復 .exe 檔案關聯:恢復 exefile\shell\open\command 預設值

編輯:Win7 常見問題解答

.exe 執行檔關聯損壞(雙擊 .exe 無反應、以記事本開啟、彈出「開啟方式」),透過登錄恢復 exefile\shell\open\command 預設值即可修復。

修復步驟

  1. Win+R → regedit。
  2. 瀏覽:
    HKEY_CLASSES_ROOT\exefile\shell\open\command
  3. 右側「預設」字串值,雙擊修改數值資料為:
    "%1" %*
    注意: 包含雙引號、%1、空格、%*。
  4. 確定,關閉登錄編輯器,重新開機生效。

登錄 exefile command 路徑

成因與預防

  • 病毒/惡意軟體修改 .exe 關聯掛載自身;部分「優化工具」誤操作導致。
  • 同理可修復 .lnk、.bat、.cmd、.reg 等關聯,路徑分別為 lnkfile、batfile、cmdfile、regfile 下的 shell\open\command。
  • 建議定期備份 HKEY_CLASSES_ROOT 或建立系統還原點。
Copyright © Windows教程網 All Rights Reserved