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

Windows XP 如何執行 DOS 程式:Start 命令參數 /separate 實現 16 位元程式獨立記憶體空間執行

編輯:Windows XP 系統介紹

快速指令

命令提示字元下輸入:

start /separate 要執行的DOS程式路徑
  • /separate:在獨立記憶體空間啟動 16 位元程式 (NTVDM 獨立執行個體),避免相互干擾。
  • /shared:在共享記憶體空間啟動 16 位元程式 (預設行為)。
  • 執行後可按 Alt+Enter 在全螢幕與視窗模式切換。

Start 命令完整語法

START ["標題"] [/D 路徑] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/AFFINITY <十六進位遮罩>] [/WAIT] [/B] 程式/命令 [參數]

常用範例

  • 啟動記事本:start notepad
  • 開啟文字檔:start readme.txt
  • 同時啟動多個程式:start notepad & start calc & start mspaint
  • 以系統管理員權限執行 (Vista 以上):runas /user:Administrator "cmd" (XP 無 UAC,直接即是管理員)。

背景知識

Windows XP 移除純 DOS 環境,但保留 NTVDM (NT Virtual DOS Machine) 相容 16 位元 Windows/DOS 程式。start /separate 能為每個 16 位元程式建立獨立 NTVDM 執行個體,解決相容性衝突。

注意事項

  • 64 位元版 Windows (XP x64、Vista x64、7 x64 等) 不支援 NTVDM,無法直接執行 16 位元程式。需用虛擬機 (VirtualBox、VMware) 安裝 32 位元 XP 或 DOS 系統。
  • 部分舊程式需特定 EMS/XMS 記憶體設定,可在程式屬性 → 「相容性」/「記憶體」頁籤調整,或建立 .pif 捷徑設定。
Copyright © Windows教程網 All Rights Reserved