is it possible to find the available logical drives? if so...how?
Read the API for File, namely the method listRoots.
thx! I`ve been google`ing and going over the File functions (except this one) for over an hour..
File drives = new File("").listRoots(); for(int j=0;j<drives.length;j++) System.out.println(drives[j]);
You don't even need the
new File("") part - the method is static.
for(File drive : File.listRoots() ) System.out.println(drive);