posted 8 years ago
Hi, I was wondering if there was a way I could determine whether a drive is fixed or otherwise without using external libraries or JNI (I can never seem to get JNI to function correctly). I have tried using WinPack for JNIWrapper but have had trouble getting it to perform consistently. This is a simple method which will currently return an arraylist with every root drive, but doesn't filter out anything. Additionally Is there a way I can identify removable disks/CD/DVD drives so that I can assign them appropriate icons in my application?