TCC > Variables & Functions > Variables:
Comments (...)
_DOSVER returns the current operating system version. The current Decimal character is used to separate the major and minor version numbers.
Help URL: http://jpsoft.com/help/index.htm?_dosver.htm