What Is the Bootcfg Command?:
The bootcfg command is a Recovery Console command used to build or modify the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.
A bootcfg command is also available from the Command Prompt.
Bootcfg Command Syntax:
/list = This option will list every entry in the boot list in the boot.ini file.
/scan = Using this option will instruct bootcfg to scan all drives for installations of Windows and then display the results.
/rebuild = This option will step you through the process of rebuilding the boot.ini file.
/default = the /default switch sets the default boot entry in the boot.ini file.
/add = This option allows for the manual entry of a Windows installation in the boot.ini boot list.
Bootcfg Command Examples:
In the above example, the bootcfg command scans all drives for any Windows installations, displays the results, and steps you through building the boot.ini file.
Bootcfg Command Availability:
The bootcfg command is available from within the Recovery Console in Windows 2000 and Windows XP.