Dear,

A more complete script can be:
code:
  $os=""
SELECT
CASE (@inwin = 1) AND (@dos = "5.1") ; - Windows XP -
$os="XP"
CASE (@inwin = 1) AND (@dos = "5.0") ; - Windows 2000 -
$os="W2K"
CASE (@inwin = 1) ; - Windows NT -
$os="NT4"
CASE (@inwin <> 1) AND (@dos = "4.90") ; - Windows ME -
$os="ME"
CASE (@inwin <> 1) AND (@dos = "4.10") ; - Windows 98 -
$os="W98"
CASE (@inwin <> 1) AND (@dos = "4.0") ; - Windows 95 -
$os="W95"
CASE 1
$os="???" ; - undetermined -
ENDSELECT
? "$$os "+$os

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA