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 选项卡。
描述:
此命令行工具可以用来在 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 选项卡。
转载于:https://blog.51cto.com/334646743/110290