• Post Reply Bookmark Topic Watch Topic
  • New Topic

[help] drive access and info using java program  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

i want to make a java program which can provide information about the drives and also can access them.

can anyone provide a tutorial or some help.


thanks


rahul
 
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Take a look at the java.io.File class -- in particular the listRoots() method.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!