listRoots?
Regan Heath
regan at netmail.co.nz
Sun May 13 11:42:57 PDT 2007
Jan Hanselaer Wrote:
> Hi
>
> At first sight I can't find a way to get all the partitions on the user his
> system.
> I'm looking for something like File.listRoots() in Java.
> Anyone knows a way to do this?
Does this do what you want (see attached). Output on my system is:
HDD: [C:\,D:\,G:\]
FDD: [A:\]
CDD: [E:\]
Regan Heath
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getlogicaldrives.d
Url: http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20070513/100e6c11/attachment.txt
More information about the Digitalmars-d-learn
mailing list