does the dir command always return files in alphabetical order
if not can you use the old DOS extensions ie. -v -p -s etc ?
Printable View
does the dir command always return files in alphabetical order
if not can you use the old DOS extensions ie. -v -p -s etc ?
is this something you are trying to do in .NET? or just a general DOS question??
As klienma suggests, the VB.NET Dir function and the DOS dir command are definitely not the same thing, despite having similar names and behaviours. I'd suggest using the System.IO namespace in VB.NET apps anyway, like IO.Directory.GetFiles for instance.