display the count of files in folders

Microsoft Windows
Post Reply
SweetTasha
Posts: 1
Joined: 2021-Sep-11, 4:24 am

display the count of files in folders

Post by SweetTasha »

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! :roll:

Thanks for your help. SweetTasha.
Post Reply