雙擊任何 .exe 程式無反應、圖示變白紙、提示「找不到程式開啟」,是經典的 exefile 檔案關聯損壞,常由病毒修改註冊表、誤用清理工具、軟體安裝衝突引起。本文提供三種修復方案:命令列快速修復、註冊表手動修復、專用修復工具。
cmd → Ctrl+Shift+Enter 以管理員身分執行。ftype exefile="%1" %* assoc .exe=exefile
原理:ftype 重設 exefile 執行命令字串,assoc 重設 .exe 副檔名關聯至 exefile 類別。
regedit.exe (若關聯正常可直接跑)。C:\Windows\regedit.exe 為 regedit.com 或 regedit.scr,雙擊執行 (.com/.scr 關聯通常未損)。regedit。HKEY_CLASSES_ROOT\.exe → 預設值應為 exefile。HKEY_CLASSES_ROOT\exefile\shell\open\command → 預設值應為 "%1" %*。@echo off assoc .exe=exefile assoc .lnk=lnkfile assoc .bat=batfile assoc .cmd=cmdfile assoc .com=comfile assoc .scr=scrfile assoc .pif=piffile ftype exefile="%%1" %%* ftype lnkfile="%%1" %%* ftype batfile="%%1" %%* ftype cmdfile="%%1" %%* echo 修復完成,請重開機 pause