cluberti, on 18 January 2010 - 11:16 AM, said:
The ReturnOSVersion function should contain:
What you do with the new responses in that source is your own design. Note you can get the version simply by returning the @OSVersion macro:
MsgBox (0, "OS Version", @OSVersion)
For example:

Case $VER = "WIN_7" $OS = "Windows 7" Case $VER = "WIN_VISTA" $OS = "Windows Vista" Case $VER = "WIN_XP" $OS = "Windows XP" Case $VER = "WIN_2000" $OS = "Windows 2000" Case $VER = "WIN_98" $OS = "Windows 98" Case $VER = "WIN_ME" $OS = "Windows ME" Case $VER = "WIN_95" $OS = "Windows 95" Case $VER = "WIN_NT4" $OS = "Windows NT4"
What you do with the new responses in that source is your own design. Note you can get the version simply by returning the @OSVersion macro:
MsgBox (0, "OS Version", @OSVersion)
For example:

'UNKNOWN" on windows 8



Help

Back to top










