File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes how to list root drives Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to list root drives" Watch "how to list root drives" New topic

how to list root drives

Frans Verbeke

Joined: Mar 30, 2009
Posts: 11

I am trying to get a list of a computer's partitions, but only readable, non-network hard drives:

If I do this:

I get a list, but I can't seem to filter out the network drives.

Anyone can tell me how to do what I am trying ?

I agree. Here's the link:
subject: how to list root drives