in reply to Win32API modules
getLogicalDrives() can be a handy function, especially in conjunction with GetDriveType($Root). On the other hand, using IOCTL_DISK_SET_DRIVE_LAYOUT, IOCTL_DISK_FORMAT_TRACKS, and others can trash the hard drive with a simple typo. They're potentially useful, but I wouldn't play with them on anything other than a test box.
|
|---|