Hi Guys
Im trying to populate a list view box with a list of fixed drives.
Im trying to find the volume ID displayed in diskpart
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 C OSDisk NTFS Partition 74 GB Healthy Boot
Volume 2 BDEDrive NTFS Partition 300 MB Healthy System
Volume 3 E FAT32 Removable 7633 MB Healthy
I want to display the volume ID, diskname and size. since the other two are easily done im trying to avoid dumping diskpart output to a file and then parsing it with filereadline
Thanks
Grant
Im trying to populate a list view box with a list of fixed drives.
Im trying to find the volume ID displayed in diskpart
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 C OSDisk NTFS Partition 74 GB Healthy Boot
Volume 2 BDEDrive NTFS Partition 300 MB Healthy System
Volume 3 E FAT32 Removable 7633 MB Healthy
I want to display the volume ID, diskname and size. since the other two are easily done im trying to avoid dumping diskpart output to a file and then parsing it with filereadline
Thanks
Grant