DISKPART>
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 465 GB 0 B
Disk 1 Online 245 MB 0 B
Disk 2 Online 931 GB 0 B
DISKPART> select disk 1, replace 3
The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT DISK
There is no disk selected.
DISKPART> select disk
The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT DISK
There is no disk selected.
DISKPART> select disk 1, replace 4
The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT DISK
There is no disk selected.
DISKPART> HELP SELECT DISK
Selects the specified disk and shifts the focus to it.
Syntax: SELECT DISK=<N>
SELECT DISK=SYSTEM
SELECT DISK=NEXT
SELECT DISK=<Path>
DISK=<N>
The DiskPart disk index number of the disk to receive
focus.
DISK=<Path>
The location path of the disk to receive focus.
DISK=SYSTEM
On BIOS machines, BIOS disk 0 will receive focus.
On EFI machines, the disk containing the ESP partition
used for the current boot will receive focus. On EFI
machines, if there is no ESP, or there is more than
one ESP present, or the machine is booted from Windows PE,
the command will fail.
DISK=NEXT
Once a disk is selected, this command is used to iterate
over all disks in the disk list. The next disk in the list
will receive focus. If the next disk is the start of the
enumeration, the command will fail and no disk will have
focus.
If no options are specified, the select command lists the disk that
currently has the focus. You can view the DiskPart index numbers
for all disks on the computer by using the LIST DISK command.
Example:
SELECT DISK=1
SELECT DISK=SYSTEM
SELECT DISK=NEXT
SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
DISKPART> select disk 1, replace 4
The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT DISK
There is no disk selected.
DISKPART> SELECT DISK 1, REPLACE 4
The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT DISK
There is no disk selected.
DISKPART>