Directory.GetLogicalDrives() : Directory « System.IO « VB.Net by API






Directory.GetLogicalDrives()

  

Imports System.IO

Module Module1

    Sub Main()
        Dim DriveList As String() = Directory.GetLogicalDrives()

        Dim Drive As String

        Console.WriteLine("Logical Drives")
        For Each Drive In DriveList
            Console.WriteLine(Drive)
        Next

    End Sub

End Module

   
    
  








Related examples in the same category

1.Directory.CreateDirectory
2.Directory.Delete
3.Directory.Exists
4.Directory.GetCurrentDirectory()
5.Directory.GetDirectoryRoot
6.Directory.GetFileSystemEntries
7.Directory.GetParent
8.Directory.Move
9.Directory.SetCurrentDirectory