Try this:
code:
Select
Case ((@INWIN = 1) And (@DOS = 5.0))
$OS = "Win2K"
Case ((@INWIN = 1) And (@DOS = 4.0))
$OS = "WinNT4"
Case ((@INWIN = 2) And (@DOS >= 4.10))
$OS = "Win98"
Case ((@INWIN = 2) And (@DOS = 4.0))
$OS = "Win95"
EndSelect

? 'Running ' + $os

Also, take a look at the @PRODUCTTYPE, that'll give you a little bit more granularity

[ 11 April 2002, 17:28: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.