Dim file() As String
file = System.IO.Directory.GetFiles(“c:\”)
Dim enumerator As System.Collections.IEnumerator
enumerator = file.GetEnumerator
While enumerator.MoveNext
Console.WriteLine(CStr(enumerator.Current))
End While
Related posts:
- Display all drives Display all drives on your system with Visual Basic.net ‘create...
- Does a directory exist Create a new Windows Forms application, and add a TextBox...
Related posts brought to you by Yet Another Related Posts Plugin.
