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...
basic dir option
Moderator: DosItHelp
Re: basic dir option
Code: Select all
dir /b/s|sort
-
- Posts: 2
- Joined: 22 Nov 2010 00:55
Re: basic dir option
i would have asked the same question but thanks. my problem is solved.
________________________
Blendtec Total Blender
________________________
Blendtec Total Blender