$s = dllfuncstr("GETVERSION");
if (leftstr(dllfuncstr("GETVERSION"),1) == "0") { // 0.0X の場合 } else { // それ以上の場合 }
$s = dllfuncstr("GETOSINFO",$s1);
if (dllfuncstr("GETOSINFO","type") == "NT") { // NT の場合 message dllfuncstr("GETOSINFO","/f 'Windows NT%M.%m(build:%b) %e'"); // 例: "Windows NT4.0(build:1381) Service Pack 5" } else { // 95/98 の場合 message dllfuncstr("GETOSINFO","/f 'Windows %t (version:%M.%m%e)'"); // 例: "Windows 95 (version:4.0B)" }