No, not me I don't really like the taste of beer that much, just thought it was a cool photo.

Oh!... I added a close to the file statement. We were leaving it open.

Here is more of what I was wanting to accomplish, but not the whole thing. Hopefully next week I will be done and I'll post it then.

code:
$ChkNavService = '%comspec% /c pv.exe -q >C:\RC.TXT'
$StopNavService = 'NET STOP "Norton AntiVirus Client"'
$StartNavService = 'NET START "Norton AntiVirus Client"'

shell $ChkNavService
$logfile = "C:\RC.TXT"
$chk = ""
$ = open(1,$logfile,2)
if @error = 0
$x = readline(1)
if $x
do
select
case instr($x,"rtvscan.exe")
$chk = "Running"
case instr($x,"rtvscn95.exe")
$chk = "Running"
endselect
$x = readline(1)
until @error
endif
endif
$ = close (1)
select
case $chk = "Running"
;do nothing
case $chk = ""
shell $StartNavService
case 1
;unknown problem
endselect
IF EXIST("C:\RC.TXT")
DEL ("C:\RC.TXT")
ENDIF
RETURN


Thanks again... Oh, do you do ICQ or AOL IM? I wanted to chat with Shawn about this because our Internet is like being on a 2400 baud modem at the moment. He missed that I guess or maybe he left already.

I use magicmkrdl for AOL IM