Is there some java API which could list all the volumes available on a windows system? That is, suppose, I have C:\, D:\ volumes and there a Z:\ which is pointing to C:\abcd, is there a way to just get C:\ and D:\ listed? Or is there some API which can check if Z:\ is actually referring to some folder under C:\ only?
Thanks in advance,
Joined: May 24, 2008
And, just to add, I tried using File::listRoots but that returns all the drive letters i.e. C:\ , D:\ and Z:\ in the example I mentioned above.