View Single Post
Old 08-14-2007   #7 (permalink)
Hal Rottenberg


 
 

Re: stoopid newb question

On Aug 14, 11:24 am, RichS <Ri...@discussions.microsoft.com> wrote:
> this gives a prettier output
>
> ls c:\ -rec | where{$_.mode -like "d*"} | foreach{ $size =
> $di.getfolder($_.fullname).size/1mb; "{0,9} {1,2} " -f $size, $_.fullname }


And here's a link about the format operator "-f".

http://www.computerperformance.co.uk..._-f_format.htm

(I'm still trying to grok this one myself.)

My System SpecsSystem Spec