winver

From SpybotWiki
Revision as of 09:21, 22 February 2008 by CCRDude (talk | contribs) (added info box)
Jump to: navigation, search
winver
Variants winver
Previously
Group Flow Control
Version advcheck.dll ??? < 1.5.4.5

Test the installed Microsoft Windows version.

Usage

winver=<version(string)>[modifier(+/-)|<version(string)>[modifier(+/-)]]

Examples

winver=win2k3
winver=win2k3+
winver=win2k3-
winver=ntbased
iever=ie7
iever=ie6+
winver=winxp
winver=9xbased

Description

Test the installed Microsoft Windows version. Versions can be either version numbers, or pre-defined text templates. If you add a plus (+) to the version, this version and future ones will match. If you add a minus (-), this one and previous versions will match. Instead of adding such a modifier, you alternatively can specify multiple versions separated by semicolons. A list of name templates and corresponding versions follows:

Name Version
winnt351 3.51
win95 4.0.950
win95osr2 4.0.1111
win95osr25 4.0.1212
winnt4 4.0.1381
win98 4.1.1998
win98se 4.1.2222
winme 4.9.3000
win2k 5.0
win2000 5.0
winxp 5.1.2600
win2k3 5.2.3790
win2003 5.2.3790
vista 6.0
9xbased 4.0.950;4.0.1111;4.0.1212;4.1.1998;4.9.3000
ntbased 3.51;4.0.1381;5.0;5.1;5.1.2600;5.2.3790;6.0

See also

Similar parameters

Similar commands