It would be very helpful to include the order in which files will be reported on subsequent
Microsoft.VisualBasic.Dir() calls when multiple files exist with matching pattern. That’s missing in msdn documentation and example.
sFilename = Dir(
While sFilename <>
sFilename = Dir()
Also would be good to provide comparison to similar methods available in System.IO.Directory/ DirectoryInfo or File/FileInfo.
View Complete Post