display the count of files in folders
Posted: 2021-Sep-11, 4:40 am
Is there a CMD that will show the number of files in a given folder. Perhaps even traverse the tree. Like suppose I have a folder called Documents with subfolders A and B, subfolder A has 3 subfolders and B has 2 So the "tree" looks like this:
C;/Documents
A
A1
A2
A3
B
B1
B2
The command I'm thinking of would create a report something like this
FOLDER SUBS TOTAL SIZE
C:\Documents 2 nn,nnn
A 3 n,nnn
A1 -- nnn
etc. etc.etc
I seem to remember a TREE command!
Thanks for your help. SweetTasha.
C;/Documents
A
A1
A2
A3
B
B1
B2
The command I'm thinking of would create a report something like this
FOLDER SUBS TOTAL SIZE
C:\Documents 2 nn,nnn
A 3 n,nnn
A1 -- nnn
etc. etc.etc
I seem to remember a TREE command!
Thanks for your help. SweetTasha.