Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9696

Count number of files in each subfolder, windows command line

$
0
0

There are many solutions for getting the total number of files within a directory using command line, but is there a way to get the number of files per sub directory using command line on Windows (powershell or CMD)?

Example:We have the following structure:

root  -> a  -> b  -> c  -> d

The command requested would output something like:

a 5300b 40c 250d 13

Viewing all articles
Browse latest Browse all 9696

Trending Articles