Sunday, 18 August 2013

Windows Dir command - order subdirectories by size

Windows Dir command - order subdirectories by size

How could I display the subdirectories of a folder from largest to
smallest using the dir command?
I've tried using dir /O:-S command, and although it sorts files just fine,
it doesn't seem to order the subdirectories.
Ideally, the command should be able to go down several levels; some of
these sub-folders have their own folders.
Thanks in advance!

No comments:

Post a Comment