Retrieves the names of the logical drives on this computer in the form "<drive letter>:\".
The logical drives on this computer.
GetLogicalDrives returns all of the accessible drives on a particular machine, including the floppy drive and any optical drives.
For a list of common I/O tasks, see Common I/O Tasks.