Meaningless Drivel is fun!
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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!