File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to list root drives" Watch "how to list root drives" New topic
Author

how to list root drives

Frans Verbeke
Greenhorn

Joined: Mar 30, 2009
Posts: 11
Hello,

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 ?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to list root drives
 
Similar Threads
Search FIle System for Pattern Match
How to access drive
Get the CD-rom drives
Windows Explorer in Java
Searching entire drive for specific extension