' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Imports System
Imports System.IO

Module Main
    Sub Main()
        Dim fileEntries As String() = Directory.GetFiles("D:\")
        Dim fileName As String
        For Each fileName In fileEntries
            Console.WriteLine(fileName)
        Next fileName
    End Sub
End Module
