This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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
It's not a secret anymore!