### List Hard Drives

List the hard drives (requires the JavaObject library).
'Non-UI application (console / server application)
'List the hard drives
'Example output:
'C:\
'D:\
Region Project Attributes
#CommandLineArgs:
#MergeLibraries: True
End Region
`Sub Process_Globals
End Sub`
`Sub AppStart (Args() As String)
For Each drive As String In ListRoots
Log(drive)
Next
End Sub`
`Sub ListRoots As List
Dim jo As JavaObject
Dim o() As Object = jo.InitializeStatic("java.io.File").RunMethod("listRoots", Null)
Return o
End Sub`

Changed: , Category: Files, File: T6C193M1384.htm, ID: 1384