Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies To: Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8
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: