Ok,

Tried that and it did not seem to work?

in the mean time created this using the pipe function

Open (2,$logpath+"outputmine.txt",5)
$array = pipe('type '+$file+' |find "started"')
For Each $file In $array
Writeline(2,$file+@CRLF)?
Next
Close(2)

does the trick...

Darren


Edited by Darren_W (2007-11-02 05:00 PM)
_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.