.exe 檔案關聯被病毒破壞導致雙擊無反應,是常見故障。以下提供多種修復方案,建議先掃毒再修復關聯。
exe → 「進階」→ 關聯類型選「應用程式」→ 確定。記事本建立 EXE關聯修復.reg,內容:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*" 雙擊匯入登錄檔即可。
assoc .exe=exefile 或 ftype exefile="%1" %*,按 Enter 即可修復。system32 目錄將 cmd.exe 改名 cmd.com。cmd 進入命令列。assoc .exe=exefile 修復關聯。同理將 regedit.exe 改為 .com 執行,定位 HKEY_CLASSES_ROOT\exefile\shell\open\command,預設值改為 "%1" %*。
瑞星登錄檔修復工具、Windows 優化大師等亦可批量修復檔案關聯。建議先修復 .exe,再修復其他關聯。