aspose file tools*
The moose likes I/O and Streams and the fly likes How can we get Driver Info? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How can we get Driver Info?" Watch "How can we get Driver Info?" New topic
Author

How can we get Driver Info?

prakash ramakrishnan
Greenhorn

Joined: Feb 20, 2006
Posts: 6
Hi,
I want to get Driver details in java..How many drivers(C,D) in our system ? What are they? Can any one please help me..


regards,
Prakash
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

What sort of drivers are you asking about? JDBC drivers? Device drivers?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
prakash ramakrishnan
Greenhorn

Joined: Feb 20, 2006
Posts: 6
Hi,

Thanks for ur reply! I need info about device driver.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by prakash ramakrishnan:
I want to get Driver details in java..How many drivers(C,D) in our system ? What are they? Can any one please help me..


You mean drive detail? such as C, D, E, etc.

If it is the case then it is not the right forum to ask. It would better answered in Java General Intermediate forum.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

Oh, "drives" as in Windows disks? That belongs in the I/O forum. Thusly moved.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8900
    
    8

Have a look at java.io.File. There's a method called listRoots() that you will find useful.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can we get Driver Info?