Oh - you probably want an answer, too..

This is what I use in my KInstall utility:
 Code:
; ======================================================================
; IDENTIFICATION OF O/S
; determine the O/S installed & announce the findings..
;
$OSver= @DOS						; O/S Version
$fWS = 0
If Not InStr(@PRODUCTTYPE, 'Server') Or InStr(@PRODUCTTYPE, 'Controller')
  $fWS = 1						; set the Workstation flag
EndIf

$ = Split(@PRODUCTTYPE, ' ')
; accommodate old versions of Kix that called 2008 "Longhorn"
If InStr($[2], 'Longhorn')
  $[1] = '2008'
EndIf
$SYSID = IIf($[1] = 'Server', 'WIN' + $[2], 'WIN' + $[1])


; show data
'PType: ' @PRODUCTTYPE ?
'OSVer: ' $OSver ?
'SysID: ' $SysID ?
'   WS: ' $fWS ?
The SysID is Win(version), like Win2008, Win7, WinXP, etc.. The $fWS is true on Workstation class machines, so (heaven forbid) if you have Windows 2000 systems, the $SysID will be Win2000 and $fWS will be true on a workstation and false on a server.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D