CmdID

CmdID / Commands / select

select volume

Selects the specified volume and shifts the focus to it. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Selects the specified volume and shifts the focus to it. This command can also be used to display the volume that currently has the focus in the selected disk. - If no volume is specified, this command displays the volume that currently has the focus in the selected disk. - On a basic disk, selecting a volume also gives the focus to the corresponding partition. - 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.

select volume={<n>|<d>}

To shift the focus to volume 2, type

select volume=2Identify

To shift the focus to Drive C, type

select volume=cIdentify

To shift the focus to the volume mounted on a folder named c:\mountpath, type

select volume=c:\mountpathIdentify

To display the volume that currently has the focus in the selected disk, type

select volumeIdentify
<n>The number of the volume to receive the focus. You can view the numbers for all volumes on the disk currently selected by using the list volume command in DiskPart.
<d>The drive letter or mount point path of the volume to receive the focus.