Bootcfg 配置、查询或更改 Boot.ini 文件设置

2019-09-19 07:03:16王冬梅

/p Password 
指定用户帐户的密码,该用户帐户在 /u 参数中指定。 
/d description 
为新的操作系统项指定说明。 
/id OSEntryLineNum 
在根下的[操作系统]区段内的 .ini 文件中指定操作系统登录的行号。[operating systems] 标题区域后的首行是 1。 
/?
在命令提示符显示帮助。 
范例
下述范例显示了如何使用 bootcfg /copy 命令:

bootcfg /copy /d "ABC Server" /id 1
bootcfg /copy /s srvmain /u maindomhiropln /p p@ssW23 /d "Windows XP" /id 2
bootcfg /copy /u hiropln /p p@ssW23 /d "AB Ver 1.001" /id 2

bootcfg dbg1394

为指定的操作系统项配置 1394 端口调试。

语法
bootcfg /dbg1394 {ON|OFF|EDIT} [/s Computer [/u DomainUser /p Password]] [/ch channel] /id OSEntryLineNum

参数
ON|OFF|EDIT 
指定用于 1394 端口调试的值。 值 说明 
ON 通过将 /dbg1394 开关添加到指定的 OSEntryLineNum,从而启用远程调试支持。 
OFF 通过将 /dbg1394 开关从指定的 OSEntryLineNum 删除,从而禁用远程调试支持。 
EDIT 通过更改与指定 OSEntryLineNum 的 /dbg1394 开关有关的信道值,从而允许端口和波特率设置发生变化。 

/s Computer 
指定远程计算机名称或 IP 地址(不能使用反斜杠)。默认值是本地计算机。 
/u DomainUser 
对于由 user 或 domainuser.指定的用户,运行具有其帐户权限的命令。默认值是当前登录发布命令的计算机的用户权限。 
/p Password 
指定用户帐户的密码,该用户帐户在 /u 参数中指定。 
/ch channel 
指定用于调试的信道:有效值为 1 到 64 之间的某个整数。如果禁用 1394 端口调试,则不要使用 /ch channel 参数。 
/id OSEntryLineNum 
对于添加有 1394 端口调试选项的 Boot.ini 文件,指定其 [operating systems] 区段中的操作系统项的行号。[operating systems] 标题区域后的首行是 1。 
/?
在命令提示符显示帮助。 
范例
下述范例显示了如何使用 bootcfg /dbg1394 命令:

bootcfg /dbg1394 /id 2
bootcfg /dbg1394 on /ch 1 /id 3
bootcfg /dbg1394 edit /ch 8 /id 2
bootcfg /s srvmain /u maindomhiropln /p p@ssW23 /dbg1394 off /id 2
相关文章 大家在看