BOOTCFG
Use this command for boot configuration and recovery. This command has the following options:
bootcfg /add
bootcfg /rebuild
bootcfg /scan
bootcfg /list
bootcfg /disableredirect
bootcfg /redirect [portbaudrate] | [useBiosSettings]
Examples:
bootcfg /redirect com1 115200bootcfg /redirect useBiosSettingsYou can use the following options:
/add Adds a Windows installation to the boot menu list.
/rebuild Iterates through all Windows installations so that you can specify which installations to add.
/scan Scans all disks for Windows installations and displays the results so that you can specify which installations to add.
/default Sets the default boot entry.
/list Lists the entries already in the boot menu list.
/disableredirect Disables redirection in the boot loader.
/redirect Enables redirection in the boot loader, with the specified configuration.
CD and CHDIR
Use the cd and chdir commands to change to a different folder. For example, you can use the following commands:
Type cd .. to change to the parent folder.
Type cd drive: to display the current folder in the specified drive.
Type cd without parameters to display the current drive and folder.
The chdir command treats spaces as delimiters. Because of this, you must put quotation marks ("") around a folder name that contains a space.The following is an example:
cd "∖windows∖profiles∖username∖programs∖start menu"The chdir command works only in the system folders of the current installation of Windows, in removable media, in the root folder of any hard disk partition, or in the local installation sources.
CHKDSK
chkdsk drive /p /rThe chkdsk command checks the specified drive and repairs or recovers the drive if the drive requires it. The command also marks any bad sectors and it recovers readable information.
You can use the following options:
/p Does an exhaustive check of the drive and corrects any errors.
/r Locates bad sectors and recovers readable information.
Note If you specify the /r option, the /p option is implied. When you specify the chkdsk command without arguments, the command checks the current drive with no options in effect.
When you run the chkdsk command, you must use the Autochk.exe file. CHKDSK automatically locates this file in the startup folder. If the Command Console was preinstalled, the startup folder is typically the Cmdcons folder. If CHKDSK cannot find Autochk.exe in the startup folder, CHKDSK tries to locate the Windows installation disc. If it cannot find the installation media, CHKDSK prompts you for the location of the Autochk.exe file.