2

I can get a list of drives plugged into a computer with File.listRoots(), but I only get the drive letter. How can I get the actual name of the drive (e.x. "Local Disk", "DVD RW Drive", etc.) as it's shown in Windows Explorer?

Jonah
  • 9,991
  • 5
  • 45
  • 79

1 Answers1

0

Use fileSystemView and the getSystemDisplayName()

XV0ID
  • 159
  • 11