Get a list of all files inside of a directory in vb.net
It looks like you want to use Directory.GetFiles() in the System.IO namespace. Docs here.
It looks like you want to use Directory.GetFiles() in the System.IO namespace. Docs here.
Using find: find . -maxdepth 1 -type f Using the -maxdepth 1 option ensures that you only look in the current directory (or, if you replace the . with some path, that directory). If you want a full recursive listing of all files in that and subdirectories, just remove that option.