You might also consider just doing it directly in Perl. See the DiskGeom.plx sample script from the Win32API-File distribution for a starting point. See other IOCTL_DISK_* codes as documented in the Microsoft Windows SDK documentation.
Update: I guess he didn't want to do the research and find items like IOCTL_DISK_FIND_NEW_DEVICES.
- tye
In reply to Re: diskpart.exe and perl (s/and/in/)
by tye
in thread diskpart.exe and perl
by neo1491
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |