View Single Post
Old 01-07-2008   #4 (permalink)
Marco Shaw [MVP]


 
 

Re: Powergadget : get-content of directory

IT Staff wrote:
Quote:

> yes, and i tried the following :
>
> 1. i've already created a vertical gauge called "folder.pgt"
>
> 2. ps (with powergadget) > out-gauge -template
> older.pgt -MainIndicator_Value (dir d:\fac\queue\*.*).count -refresh 0:0:2
>
> I delete some files in my d:\fac\queue, but the gadget did not refresh
>
> Why ?
That's not how refresh works. PowerGadgets will not recaculate the
count at the 20s refresh like you have the command written out above.

Post the code for folder.pgt, and tells us exactly what you're looking for.

Marco
My System SpecsSystem Spec