- May
- 239
- 2
Hi,
When you use DIR /O to sort the output it works so that it only sorts per sub-directory (assuming /S was included).
Is there some way to sort the total output over all sub-directories together?
For example, if you have a sub-directory tree and you want to use DIR /B /S to get a list of its contents for further processing, is there some easy way to get this list sorted by date&time for all files in the tree?
When you use DIR /O to sort the output it works so that it only sorts per sub-directory (assuming /S was included).
Is there some way to sort the total output over all sub-directories together?
For example, if you have a sub-directory tree and you want to use DIR /B /S to get a list of its contents for further processing, is there some easy way to get this list sorted by date&time for all files in the tree?