Share via


Select

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

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