Sometimes you may want to get disk partition information.
The following is written for an English version of Windows Diskpart. It may not work correctly for a different language.
LP_TYPE may say 'Removable' for a flash drive, etc.
Usage: getpart.cmd diskno partno