Select

 

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Shifts the focus to a disk, partition, volume, or virtual hard disk (VHD).

Syntax

select disk
select partition
select volume
select vdisk

Parameters

Parameter

Description

Select disk

Shifts the focus to a disk.

Select partition

Shifts the focus to a partition.

Select volume

Shifts the focus to a volume.

Select vdisk

Shifts the focus to a VHD.

Remarks

  • If a volume is selected with a corresponding partition, the partition will be automatically selected.

  • If a partition is selected with a corresponding volume, the volume will be automatically selected.

Additional references

Command-Line Syntax Key

DiskPart Commands