"select partition": это не работает.
Код:
![Выделить весь код](images/misc/selectcode.png)
Microsoft Windows [Version 10.0.19045.4291]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
C:\Windows\system32>diskpart
Microsoft DiskPart version 10.0.19041.3636
Copyright (C) Microsoft Corporation.
On computer: DESKTOP-F9FI23M
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 223 GB 1024 KB *
Disk 1 Online 1863 GB 1024 KB
Disk 2 Online 931 GB 0 B
Disk 3 Online 931 GB 6144 KB
Disk 4 Online 232 GB 3072 KB *
Disk 5 Online 698 GB 1024 KB
Disk 6 Online 465 GB 1024 KB
Disk 7 Online 931 GB 0 B
Disk 8 Online 465 GB 1024 KB
Disk 9 Online 465 GB 1024 KB *
Disk 10 Online 2794 GB 1024 KB *
DISKPART> select disk 10
Disk 10 is now the selected disk.
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 C .l -text "H NTFS Partition 222 GB Healthy Boot
Volume 1 FAT32 Partition 100 MB Healthy System
Volume 2 NTFS Partition 517 MB Healthy Hidden
Volume 3 G NTFS Partition 105 GB Healthy
Volume 4 I NTFS Partition 102 GB Healthy
Volume 5 J NTFS Partition 1656 GB Healthy
Volume 6 N 3gb NTFS Partition 2794 GB Healthy
Volume 7 D NTFS Partition 92 GB Healthy
Volume 8 L NTFS Partition 838 GB Healthy
Volume 9 F gig NTFS Partition 931 GB Healthy Pagefile
Volume 10 FAT32 Partition 300 MB Healthy Hidden
Volume 11 H 700 NTFS Partition 698 GB Healthy
Volume 12 E Novii_tom NTFS Partition 465 GB Healthy
Volume 13 K NTFS Partition 931 GB Healthy
Volume 14 M Vneshnii_di NTFS Partition 465 GB Healthy
Volume 15 O 500 NTFS Partition 464 GB Healthy
Volume 16 Восстановит NTFS Partition 450 MB Healthy Hidden
Volume 17 FAT32 Partition 100 MB Healthy Hidden
Volume 18 NTFS Partition 894 MB Healthy Hidden
DISKPART> select partition 6
The specified partition is not valid.
Please select a valid partition.
There is no partition selected.
DISKPART> select partition N
The arguments specified for this command are not valid.
For more information on the command type: HELP SELECT PARTITION
There is no partition selected.
DISKPART> HELP SELECT PARTITION
Selects the specified partition and shifts the focus to it.
Syntax: SELECT PARTITION=<N>
PARTITION=<N>
The number of the partition to receive the focus.
If no partition is specified, the select command lists the current
partition with focus. You can specify the partition by its number. You can
view the numbers of all partitions on the current disk by using the list
partition command.
You must first select a disk using the DiskPart select disk command before
you can select a partition.
Example:
SELECT PARTITION=1
DISKPART> SELECT PARTITION=6
The specified partition is not valid.
Please select a valid partition.
There is no partition selected.
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 C .l -text "H NTFS Partition 222 GB Healthy Boot
Volume 1 FAT32 Partition 100 MB Healthy System
Volume 2 NTFS Partition 517 MB Healthy Hidden
Volume 3 G NTFS Partition 105 GB Healthy
Volume 4 I NTFS Partition 102 GB Healthy
Volume 5 J NTFS Partition 1656 GB Healthy
Volume 6 N 3gb NTFS Partition 2794 GB Healthy
Volume 7 D NTFS Partition 92 GB Healthy
Volume 8 L NTFS Partition 838 GB Healthy
Volume 9 F gig NTFS Partition 931 GB Healthy Pagefile
Volume 10 FAT32 Partition 300 MB Healthy Hidden
Volume 11 H 700 NTFS Partition 698 GB Healthy
Volume 12 E Novii_tom NTFS Partition 465 GB Healthy
Volume 13 K NTFS Partition 931 GB Healthy
Volume 14 M Vneshnii_di NTFS Partition 465 GB Healthy
Volume 15 O 500 NTFS Partition 464 GB Healthy
Volume 16 Восстановит NTFS Partition 450 MB Healthy Hidden
Volume 17 FAT32 Partition 100 MB Healthy Hidden
Volume 18 NTFS Partition 894 MB Healthy Hidden
DISKPART> SELECT PARTITION=6
The specified partition is not valid.
Please select a valid partition.
There is no partition selected.
DISKPART>