How can I get list all drives but also get the corresponding drive type (removable,local disk, or cd-rom,dvd-rom... etc)?
File[] roots = File.listRoots(); for(int i=0;i