Thanks, that is definately a better way than using a check type file in the file system. I'm having trouble getting a kixtart command to work as a $program such as this.

Code:

$folder3="c:\temp\temp3\*"
$program = 'Del "$folder3"'
$=oneaday($program)



Any suggestions are of course appreciated.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain