Help and Support

文章編號: 324767 - 上次校閱: 2003年10月15日 - 版次: 1.0

當您安裝或啟動 MS-DOS 或 16 位元 Windows 程式時,出現錯誤訊息

全部展開 | 全部摺疊

徵狀

當您在 Windows XP 電腦上啟動或安裝 MS-DOS 或 16 位元 Windows 程式,可能會收到類似下列之一錯誤訊息:
16-bit MS-DOS Subsystem (16 位元 MS-DOS 子系統)
path to the program that you are trying to start or install (您嘗試啟動或安裝的程式路徑)
C:\Winnt\System32\config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application. (系統檔案不適用於執行 MS-DOS 和 Microsoft Windows 應用程式,請選擇 [關閉],以中止應用程式)。
16-bit MS-DOS Subsystem (16 位元 MS-DOS 子系統)
path to the program that you are trying to start or install (您嘗試啟動或安裝的程式路徑)
config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application. (系統檔案不適用於執行 MS-DOS 和 Microsoft Windows 應用程式,請選擇 [關閉],以中止應用程式)。
16-bit MS-DOS Subsystem (16 位元 MS-DOS 子系統)
path to the program that you are trying to start or install (您嘗試啟動或安裝的程式路徑)
C:\Windows\System32\Autoexec.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application. (系統檔案不適用於執行 MS-DOS 和 Microsoft Windows 應用程式,請選擇 [關閉],以中止應用程式)。
您可能會收到結束程式或忽略錯誤訊息的提示,但兩者都會結束程式。

發生的原因

下列一或多個檔案遺失或損壞時,可能就會發生這個問題:
  • Config.nt
  • Autoexec.nt
  • Command.com

解決方案

如果要解決這個問題,請依照下列步驟執行:
  1. 按一下 [開始],再按 [執行]
  2. [開啟] 方塊中輸入 cmd,然後按一下 [確定]
  3. 在命令提示字元中輸入下列命令,並在每個命令結束時按 ENTER:

    expand CD-ROM Drive Letter:\i386\config.nt_ c:\windows\system32\config.nt
    expand CD-ROM Drive Letter:\i386\autoexec.nt_ c:\windows\system32\autoexec.nt
    expand CD-ROM Drive Letter:\i386\command.co_ c:\windows\system32\command.com
    exit
  4. 啟動或安裝程式。如果問題已解決,請略過其餘的步驟。如果問題尚未解決,請繼續下一個步驟。
  5. 注意:下列處理程序不會編輯或建立 Command.com 檔案。因此,您必須從 Windows XP 光碟片加以展開。

    啟動「記事本」。
  6. 在「記事本」中輸入下列項目:
       dos=high, umb
    device=%SYSTEMROOT%\system32\himem.sys
    files=40
  7. [檔案] 功能表中,按一下 [另存新檔]
  8. [檔案名稱] 方塊中輸入 Config.nt,然後按一下 [儲存]。關閉 Config.nt 檔案。
  9. [檔案] 功能表中,按一下 [開新檔案]
  10. 在新的空白文件中,輸入下列項目:
    @echo off
        lh %SYSTEMROOT%\system32\mscdexnt.exe
        lh %SYSTEMROOT%\system32\redir
        lh %SYSTEMROOT%\system32\dosx
        SET BLASTER=A220 I5 D1 P330 T3
  11. [檔案] 功能表中,按一下 [另存新檔]
  12. [檔案名稱] 方塊中輸入 Autoexec.nt,然後按一下 [儲存]。關閉 Autoexec.nt 檔案。
  13. 啟動 Windows 檔案總管。找出 Config.nt 檔案,以滑鼠右鍵按一下 Config.nt 檔案,然後按一下 [複製]
  14. 以滑鼠右鍵按一下 %SYSTEMROOT%\System32 資料夾,然後按一下 [貼上]
  15. 找出 Autoexec.nt 檔案,以滑鼠右鍵按一下 Autoexec.nt 檔案,然後按一下 [複製]
  16. 以滑鼠右鍵按一下 %SYSTEMROOT%\System32 資料夾,然後按一下 [貼上]
  17. 找出 Command.com 檔案,以滑鼠右鍵按一下所展開的 Command.com 檔案,然後按一下 [複製]
  18. 以滑鼠右鍵按一下 %SYSTEMROOT%\System32 資料夾,然後按一下 [貼上]。重新啟動您的電腦。

其他相關資訊

如需有關 Windows 中 MS-DOS 程式的詳細資訊,請按一下下面的文件編號,檢視 Microsoft Knowledge Base 中的文件:
305521? (http://support.microsoft.com/kb/305521/ZH-TW/ ) An Error Message Occurs When You Run an MS-DOS or 16-Bit Windows Program
314106? (http://support.microsoft.com/kb/314106/ZH-TW/ ) Troubleshooting MS-DOS-Based Programs in Windows

這篇文章中的資訊適用於:
  • Microsoft Windows XP Professional Edition (商用版)
  • Microsoft Windows XP Home Edition (家用版)
關鍵字:?
kberrmsg kbprb KB324767
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。

文章翻譯

 

Related Support Centers