Selects the specified disk and shifts the focus to it. This command can also be used to display the disk that currently has the focus.
For examples of how this command can be used, see Examples.
Syntax
select disk=<n>
Parameters
Parameter | Description |
---|---|
disk=<n> |
The number of the disk to receive the focus. You can view the numbers for all disks on the computer by using the list disk command in DiskPart. |
Remarks
- If no disk number is specified, this command displays the disk
that currently has the focus.
Examples
To shift the focus to disk 1, type:
select disk=1
To display the disk that currently has the focus, type:
select disk