|
Answer» Hello
I am USING a simple batch command to list all the directories on a drive in a TEXT file.
dir /b > list.txt
what i ALSO NEED is the size all the directories.
thank youdir /s > list.txt Thanks but the /s switch give me more info then i need, each sub DIRECTORY and all files in the directories, all i need is the main directory and a total directory size.
IE
(size) (directory) (not printed) 7,031,293 bytes A0164 936,382 bytes A0165dir C:\ > list.txt
or
dir C:\ /s > list.txt
|