Bdehdcfg: newdriveletter

Applies To: Windows 7, Windows Server 2008 R2

Assigns a new drive letter to the portion of a drive used as the system drive. For an example of how this command can be used, see Examples.

Syntax

bdehdcfg -target {default|unallocated|<DriveLetter> shrink|<DriveLetter> merge} -newdriveletter <DriveLetter>

Parameters

Parameter Description

<DriveLetter>

Defines the drive letter that will be assigned to the specified target drive.

Remarks

As a best practice, it is recommended that you do not assign a drive letter to your system drive.

Examples

The following example shows the default drive being assigned the drive letter P.

bdehdcfg -target default -newdriveletter P:

Additional references