View Single Post
Old 04-13-2007   #2 (permalink)
George Davis


 
 

RE: How to count the total files under c:\abc\<* folders>\out where <*

$a = dir -recurse | where { $_.PSIsContainer -eq $false}
$a.Count

"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
>
>
>
>

My System SpecsSystem Spec