bootcfg命令詳解

BOOTCFG /parameter [arguments]

  描述:
  此命令行工具可以用來在 BOOT.INI 文件中配置,查詢,更改或刪除啓動項目設置。
  參數列表:
  /Copy 生成一個現有的啓動項目 [operating systems] 部分的副本,您可以在上面添加操作系統選項。
  /Delete 在 BOOT.INI 文件的 [operating systems] 部分刪除一個現有的啓動項目。您必須指定要刪除的項目號。
  /Query 顯示當前啓動項目和它們的設置。
  /Raw 允許用戶爲特定的啓動項目指定1394 端口調試。
  /Timeout 允許用戶更改超時值。
  /Default 允許用戶更改默認啓動項目。
  /EMS 允許用戶爲啓動項目的無頭支持配置 -/redirect 開關。
  /Debug 允許用戶爲特定的啓動項目指定遠程調試的端口和波特率。
  /Addsw 允許用戶爲特定的啓動項目添加預定義開關。
  /Rmsw 允許用戶爲特定的啓動項目刪除預定義開關。
  /Dbg1394 允許用戶爲特定的啓動項目配置1394 端口調試。
  /? 顯示幫助/用法。
  示例:
  BOOTCFG /Copy /?
  BOOTCFG /Delete /?
  BOOTCFG /Query /?
  BOOTCFG /Raw /?
  BOOTCFG /Timeout /?
  BOOTCFG /EMS /?
  BOOTCFG /Debug /?
  BOOTCFG /Addsw /?
  BOOTCFG /Rmsw /?
  BOOTCFG /Dbg1394 /?
  BOOTCFG /Default /?
  BOOTCFG /?
  ------------------------------------------------------------------------------------------------------------------------------------------------------
  bootcfg 命令及其用法。
  更多信息
  bootcfg 命令是一個 Microsoft Windows XP 故障恢復控制檯命令,用於處理 Boot.ini 文件。此命令具有這樣的功能:在硬盤上掃描 Microsoft Windows NT、Microsoft Windows 2000 和 Windows XP 安裝,然後將這些安裝添加到現有的 Boot.ini 文件中,如果 Boot.ini 文件不存在,則重新生成一個新的 Boot.ini 文件。bootcfg 命令使其他 Boot.ini 文件參數能夠添加到現有項或新項中。
  要使用 bootcfg 命令,請用 Windows XP CD-ROM 啓動故障恢復控制檯,然後單擊故障恢復控制檯。或者,在本地安裝故障恢復控制檯,然後從啓動菜單中選擇此命令。
  bootcfg 命令及其用法:• bootcfg /default 命令在啓動菜單中設置默認操作系統選項(此命令自動選擇操作系統項)。
  • bootcfg /add 命令在計算機上掃描 Windows NT、Windows 2000 或 Windows XP(如果雙啓動)安裝,然後顯示結果。從這個位置,您可以將安裝添加到啓動菜單。
  可能顯示的消息的示例爲:
  Scanning all disks for Windows Installations
  Please wait, since this may take a while...
  Total Identified Windows Installs:2
  [1] C:\Windows
  [2] D:\Windows
  Select installation to add:(select a number)
  Enter Load Identifier:(Custom description for an operating system loading from the Boot menu)
  Enter Operating System Load Options:(that is:/fastdetect)
  此過程將一個新項添加到啓動菜單中。當您添加一個安裝時,bootcfg 命令同時使該安裝成爲默認操作系統啓動項。
  • bootcfg /rebuild 命令在計算機的硬盤上掃描 Windows NT、Windows 2000 或 Windows XP 安裝,然後顯示結果。您可以添加檢測到的 Windows 安裝。
  可能顯示的消息的示例爲:
  Total Identified Windows Installs:2
  [1] C:\Windows
  Add installation to boot list?(Yes/No/All):
  Enter Load Identifier:(Custom description for an operating system loading from the Boot menu)
  Enter Operating System Load Options:(that is:/fastdetect)
  [2] D:\Windows
  Add installation to boot list?(Yes/No/All):
  Enter Load Identifier:(Custom description for an operating system loading from the Boot menu)
  Enter Operating System Load Options:(that is:/fastdetect)
  • bootcfg /scan 命令在計算機的硬盤上掃描 Windows NT、Windows 2000 或 Windows XP 安裝,然後顯示結果。
  可能顯示的消息的示例爲:
  Scanning all disks for Windows Installations
  Please wait, since this may take a while...
  Total Identified Windows Installs:2
  [1] C:\Windows
  [2] D:\Windows
  • bootcfg /list 命令讀取 Boot.ini 文件,然後顯示操作系統標識符、操作系統加載選項和操作系統位置(路徑)。可能顯示的消息的示例爲:
  Total entries in boot list:2
  [1] Microsoft Windows Whistler Professional
  Operating System Load Options:/fastdetect
  Operating System Location:D:\Windows
  [2] Microsoft Windows Whistler Server
  Operating System Load Options:/fastdetect
  Operating System Location:C:\Windows
  • 可能顯示的消息的示例爲:bootcfg /redirect 命令在配置中已指定了端口和波特率的啓動加載程序中啓用重定向。此命令用於啓用無顯示終端管理 (Headless Administration) 功能。
  此命令的示例如下:
  bootcfg /redirect com1 115200
  bootcfg /redirect useBiosSettings
  • 可能顯示的消息的示例爲:bootcfg /disableredirect 命令在配置中已指定了端口和波特率的啓動加載程序中禁用重定向。此命令用於禁用無顯示終端管理 (Headless Administration) 功能。
  也可以在 Windows XP 圖形用戶界面 (GUI) 中修改 Boot.ini 文件:1. 在"控制面板"中,雙擊系統。
  2. 在高級選項卡上,單擊"啓動和故障恢復",然後單擊設置。
  3. 在系統啓動下,單擊編輯。
  4. 您必須保存更改然後單擊確定退出"啓動和故障恢復"窗口之後,才能看到對 Boot.ini 文件的更改。
  5. 單擊開始,再單擊運行,然後鍵入:msconfig 以啓動系統配置工具。
  6. 單擊 Boot.ini 選項卡。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章