BTW -
 Code:
If (@PRODUCTTYPE="Windows Vista Server") $OSTYPE="Server" EndIf
isn't correct. This is a workstation, and is called "Windows Vista Starter edition, not "server". ;\)

Since only NT 4 and Windows 2000 use "Domain Controller" instead of "Server", you don't even have to test for that. (These platforms aren't supported on Kix 4.6x anymore). Using
 Code:
$OSType = 'Workstation'    ; set default
If InStr(@PRODUCTTYPE, 'Server')
  $OSType = 'Server'       ; override default with "server"
EndIf
is the simplest format. In fact, most of my production code uses some form of
 Code:
Global $ISWKSTN
$ISWKSTN = 1  ; default to workstation
If InStr(@PRODUCTTYPE, 'Server') $ISWKSTN = 0 EndIf
I might use the reverse of this logic to employ an ISSERVER var if that's more important to my later logic. This Boolean result simplifies later logic by allowing
 Code:
If $ISWKSTN
  ; do workstation stuff
Else
  ; do server stuff
EndIf
Glenn
_________________________
Actually I am a Rocket Scientist! \:D