basic dir option
Posted: 16 Nov 2010 16:26
A basic dir question.
Or maybe not...?
I'm wanting to create a list of all the contents of all the subdirectories in a drive.
I want the subdirectories to list in alphabetical order, along with their files
I type this:
dir /b /s /o:n
And what I get is the subdirectories scattered in whatever order they please, while the files inside are listed in alphabetical order.
For example...
The contents of folder "Music" are listed before the contents of folder "Books"
Help?
I've tried switching the order of the switches every way possible...
Or maybe not...?
I'm wanting to create a list of all the contents of all the subdirectories in a drive.
I want the subdirectories to list in alphabetical order, along with their files
I type this:
dir /b /s /o:n
And what I get is the subdirectories scattered in whatever order they please, while the files inside are listed in alphabetical order.
For example...
The contents of folder "Music" are listed before the contents of folder "Books"
Help?
I've tried switching the order of the switches every way possible...