Imports System.IO public class Test public Shared Sub Main For Each drive_info As DriveInfo In DriveInfo.GetDrives() Console.WriteLine(drive_info.Name) Next drive_info End Sub End class
C:\ D:\