Ver (command)


In computing, ver is a command in various command-line interpreters such as COMMAND.COM, cmd.exe and 4DOS/4NT. It prints the name and version of the operating system, the command shell, or in some implementations the version of other commands. It is roughly equivalent to the Unix command uname.

Implementations

The command is available in FLEX, HDOS, DOS, FlexOS, SpartaDOS X, 4690 OS, OS/2, Windows, and ReactOS. It is also available in the open-source MS-DOS emulator DOSBox, in the KolibriOS Shell and in the EFI shell.

TSC FLEX

In TSC's FLEX operating system, the VER command is used to display the version number of a utility or program. In some versions the command is called VERSION.

DOS

The command is available in MS-DOS versions 2 and later.
MS-DOS versions up to 6.22 typically derive the DOS version from the DOS kernel. This may be different from the string printed on start-up. The argument "/r" can be added to give more information and to list whether DOS is running in the HMA.
PC DOS typically derives the version from an internal string in command.com
DR DOS 6.0 also includes an implementation of the command. DR-DOS reports whatever value the environment variable OSVER reports.
PTS-DOS includes an implementation of this command that can display, modify, and restore the DOS version number.

IBM OS/2

command.com reports an internal string, with the OS/2 version. The underlying kernel here is 5.00, but modified to report x0.xx.

Microsoft Windows

command.com report a string from inside command.com. The build version, is also derived from there.
Windows NT command.com reports either the 32-bit processor string, or under some loads, MS-DOS 5.00.500,. The underlying kernel reports 5.00 or 5.50 depending on the interrupt. MS-DOS 5.00 commands run unmodified on NT.
Microsoft Windows also includes a GUI variant of the command called winver, which shows the Service Pack or Windows Update installed as well as the version. In Windows before Windows for Workgroups 3.11, running winver from DOS reported an embedded string in winver.exe.
Windows also includes the setver command that is used to set the version number that the MS-DOS subsystem reports to a DOS program. This command is not available on Windows XP 64-Bit Edition.

DOSBox

In DOSBox, the command is used to view and set the reported DOS version. It also displays the running DOSBox version.
The syntax to set the reported DOS version is the following:
VER SET
The parameter MAJOR is the number before the period, and MINOR is what comes after.
Versions can range from 0.0 to 255.255. Any values over 255 will loop from zero.

Others

provides a version command. It displays the current version number of the Kickstart and Workbench. The DEC OS/8 CCL ver command prints the version numbers of both the OS/8 Keyboard Monitor and CCL.

Syntax


C:\WINDOWS\system32>ver
Microsoft Windows

Some versions of MS-DOS support an undocumented /r switch, which will show the revision as well as the version.

Version list

The following table lists version numbers from various Microsoft operating systems:
OfficialOSVersion number
Windows 1.01.04
Windows 2.02.11
Windows 3.03
Windows NT 3.13.10.528
Windows for Workgroups 3.113.11
Windows NT 3.53.50.807
Windows NT 3.513.51.1057
Windows 954.00.950
Windows 95 OSR24.00.1111
Windows 95 OSR2.14.03.1212-1214
Windows 95 OSR2.54.03.1214-1216
Windows NT 4.04.00.1381
Windows 984.10.1998
Windows 98 SE4.10.2222
Windows ME Beta4.90.2380.2
Windows ME Beta 24.90.2419
Windows ME4.90.3000
Windows NT 5.0 Beta5.00.1515
Windows 2000 Beta 35.00.2031
Windows 2000 RC25.00.2128
Windows 2000 RC35.00.2183
Windows 20005.00.2195
Windows 2000 Professional5.0.2195
Windows XP RC15.1.2505
Windows XP5.1.2600
Windows XP SP15.1.2600.1105-1106
Windows XP SP25.1.2600.2180
Windows XP SP35.1.2600
Windows.NET Server interim5.2.3541
Windows.NET Server Beta 35.2.3590
Windows.NET Server RC15.2.3660
Windows.NET Server 2003 RC25.2.3718
Windows Server 2003 Beta5.2.3763
Windows XP Professional x64 Edition
Windows Server 2003
Windows Home Server
5.2.3790
Windows Server 2003 SP15.2.3790.1180
Windows Server 20035.2.3790.1218
Windows Longhorn6.0.5048
Windows Vista Beta 16.0.5112
Windows Vista CTP6.0.5219
Windows Vista TAP Preview6.0.5259
Windows Vista CTP December6.0.5270
Windows Vista CTP February6.0.5308
Windows Vista CTP Refresh6.0.5342
Windows Vista April EWD6.0.5365
Windows Vista Beta 2 Preview6.0.5381
Windows Vista Beta 26.0.5384
Windows Vista Pre-RC1 Build 54566.0.5456
Windows Vista Pre-RC1 Build 54726.0.5472
Windows Vista Pre-RC1 Build 55366.0.5536
Windows Vista RC16.0.5600.16384
Windows Vista Pre-RC26.0.5700
Windows Vista Pre-RC2 Build 57286.0.5728
Windows Vista RC26.0.5744.16384
Windows Vista Pre-RTM Build 58086.0.5808
Windows Vista Pre-RTM Build 58246.0.5824
Windows Vista Pre-RTM Build 58406.0.5840
Windows Vista6.0.6000
Windows Vista RTM6.0.6000.16386
Windows Vista SP1
Windows Server 2008 SP1
6.0.6001
Windows Vista SP2
Windows Server 2008 SP2
6.0.6002
Windows 7
Windows Server 2008 R2
6.1.7600
Windows 7
Windows Server 2008 R2 RTM
6.1.7600.16385
Windows 7 SP1
Windows Server 2008 R2 SP1
6.1.7601
Windows Home Server 20116.1.8400
Windows Server 2012 Developer Preview
Windows 8 Developer Preview
6.2.8102
Windows 8
Windows Server 2012
6.2.9200
Windows 8 RTM6.2.9200.16384
Windows Phone 86.2.10211
Windows 8.1
Windows Server 2012 R2
6.3.9200
Windows 8.1 Update 1
Windows Server 2012 R2
6.3.9600
Windows 10 Technical Preview 16.4.9841
Windows 10 Technical Preview 26.4.9860
Windows 10 Technical Preview 36.4.9879
Windows 10 Technical Preview 410.0.9926
Windows 10 Technical Preview 510.0.10041
Windows 10 Technical Preview 610.0.10049
Windows 10 Threshold 1 10.0.10240
Windows 10 Threshold 2 10.0.10586
Windows 10 Redstone 1
Windows Server 2016
10.0.14393
Windows 10 Insider Preview10.0.14915
Windows 10 Redstone 2 10.0.15063
Windows 10 Redstone 3 10.0.16299
Windows 10 Redstone 4 10.0.17134
Windows 10 Redstone 5 10.0.17763
Windows 10 19H1 May 2019 10.0.18362
Windows 10 19H2 November 2019 10.0.19002
Windows 10 20H1 May 2020 10.0.19041
Windows 10 20H2 October 2020 10.0.19042
Windows 10 21H1 May 2021 10.0.19043
Windows 10 21H2 November 2021 10.0.19044
Windows 10 22H2 October 2022 10.0.19045
Windows 11 October 2021 10.0.22000
Windows 11 September 2022 10.0.22621
Windows 11 October 2023 10.0.22631
Windows 11 October 2024 10.0.26100