This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to list root drives
It's not a secret anymore!