Get C Drive directories |
| Sanjay Verma replied to lokesh kumar at 12-May-08 08:09 |
Imports System
Public Class MainClass
Shared Sub Main() 'List each folder at the root of your C drive For Each strFolder As String In _ My.Computer.FileSystem.GetDirectories("C:\") 'Add the item to the list System.Console.WriteLine(strFolder) Next
End Sub End Class
|
|