Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win7 修復 .exe 執行檔關聯錯誤?登錄編輯器恢復 exefile shell open command 預設值

編輯:關於 Windows

Windows 7 若發生 .exe 檔案雙擊無法執行、以記事本開啟或跳出「開啟方式」對話框,通常是登錄 HKEY_CLASSES_ROOT\exefile\shell\open\command 的預設值被惡意軟體或誤操作修改。修正該值即可恢復正常執行關聯。

修復步驟

  1. 按 Win+R → 輸入 regedit 開啟登錄編輯器。
    開啟regedit
  2. 展開路徑:
    HKEY_CLASSES_ROOT\exefile\shell\open\command
  3. 右側雙擊「預設」值,將數值資料改為:
    "%1" %*
    修改預設值
  4. 確定關閉登錄編輯器,重新啟動電腦,.exe 檔案即可正常雙擊執行。

修改前建議匯出該分支備份。若同時發生 .lnk、.bat 等關聯錯誤,可參考同邏輯修復對應機碼。此法適用於 Windows 7/8/10/11。

Copyright © Windows教程網 All Rights Reserved