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

Win7 開啟 txt 檔提示「找不到指令碼檔案」?病毒竄改關聯,殺毒後修復開啟方式

編輯:Win7 系統應用技巧

雙擊 .txt 檔跳出「找不到指令碼檔案」,圖示仍為記事本,實則被病毒修改檔案關聯指向惡意腳本。先完整掃毒,再手動將 .txt 關聯還原為記事本即可修復。

修復步驟

  1. 執行完整防毒掃描(建議離線/安全模式掃毒)。
  2. 找任一 .txt 檔,右鍵 → 「開啟方式」 → 「選擇預設程式」。
  3. 選擇「記事本」,勾選「永遠使用選取的程式開啟這類檔案」。
  4. 按確定,關聯即恢復正常。

選擇預設程式視窗

此問題 90% 以上由病毒/惡意軟體竄改註冊表 HKEY_CLASSES_ROOT\txtfile\shell\open\command 導致,殺毒為根本解決。

Copyright © Windows教程網 All Rights Reserved