View Full Version : list dvd drives in java?
RunningSkittle
3rd May 2009, 04:52
Im trying to write a small front end (to replace a nt batch script) for dvddecrypter and dgindex in java.
Is it possible to get a list of drive letters and volume names in java? and if possible, just dvd drives?
RunningSkittle
3rd May 2009, 09:49
Just had a thought: If I could list all drive letters, i could search for a video_ts folder... i suppose thats probably the easiest way to tell if a dvd drive exists and contains a movie...
LoRd_MuldeR
3rd May 2009, 17:02
You could use the Java Native API to call the GetDriveType() function from the Win32 API and then list all drives of DRIVE_CDROM type.
Obviously this will be platform specific to Win32. But DVDDecrypter is a Win32 app anyway, so...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.