|
RE: How to count the total files under c:\abc\<* folders>\out where <* gci c:\abc\*\out\* | ? {$_.mode -notmatch "d"} | measure-object
You can add the -recurse switch if you want to count the files in the
subfolders of the "out" folders.
-= IJuan =-
"ABC" wrote:
> How to count the total files under c:\abc\<* folders>\out where <* folders>
> are many folders?
>
> the structure of c:\ as
>
> c:\abc\aaa\out
> c:\abc\aaa\done
> c:\abc\bbb\out
> c:\abc\bbb\done
> c:\abc\ccc\out
> c:\abc\ccc\done
>
>
>
> |