Doc,

hows it goin mate !

try something (very basic) like :

code:

$chk = ""
$ = open(1,$logfile,2)
if @error = 0
$x = readline(1)
if $x
do
select
case instr($x,"rtvscan.exe")
$chk = "NT"
case instr($x,"rtvscn95.exe")
$chk = "95"
$x = readline(1)
until @error
endif
endif

select
case $chk = "NT"
"Windows NT" ?
case $chk = "95"
"Windows 95" ?
case 1
"Wassup here ?"
endselect



Jochen

_________________________