Ver (command)

Last updated
ver
Developer(s) DEC, TSC, Heath Company, Microsoft, IBM, DR, Novell, Toshiba, JP Software, ReactOS Contributors
Operating system OS/8, FLEX, HDOS, DOS, MSX-DOS, FlexOS, SpartaDOS X, 4690 OS, OS/2, Windows, ReactOS, KolibriOS, SymbOS, DexOS
Platform Cross-platform
Type Command

In computing, ver (short for version) is a command in various command-line interpreters (shells) 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 .

Contents

Implementations

The ver command on ReactOS ReactOS-0.4.13 cmd.exe Command Prompt 667x434.png
The ver command on ReactOS

The command is available in FLEX, HDOS, [1] DOS, FlexOS, [2] SpartaDOS X, [3] 4690 OS, [4] OS/2, [5] Windows, [6] and ReactOS. [7] It is also available in the open-source MS-DOS emulator DOSBox, in the KolibriOS Shell [8] and in the EFI shell. [9]

TSC FLEX

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

DOS

The command is available in MS-DOS versions 2 and later. [13] 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 (high memory area).

PC DOS typically derives the version from an internal string in command.com (so PC DOS 6.1 command.com reports the version as 6.10, although the kernel version is 6.00.)

DR DOS 6.0 also includes an implementation of the ver command. [14] 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. [15]

IBM OS/2

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 (where x.xx is the OS/2 version).

Microsoft Windows

The winver command on Windows 11 Winver output.png
The winver command on Windows 11

Windows 9x command.com report a string from inside command.com. The build version (e.g. 2222), is also derived from there.

Windows NT command.com reports either the 32-bit processor string (4nt, cmd), or under some loads, MS-DOS 5.00.500, (for all builds). 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 (Windows dialog) variant of the command called winver, which shows the Service Pack or Windows Update installed (if any) 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 (NTVDM) reports to a DOS program. [16] This command is not available on Windows XP 64-Bit Edition. [17]

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 <MAJOR> [MINOR]

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. (That is, 256=0, 257=1, 258=2, etc.) [18]

Others

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

Syntax

C:\WINDOWS\system32>verMicrosoft Windows [Version 10.0.10586]

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: [21] [22] [23]

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
XWindows 20005.00.2195
XWindows 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
XWindows 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
XWindows 10 Threshold 1 (Windows 10 RTM)10.0.10240
XWindows 10 Threshold 2 (November Update, Version 1511)10.0.10586
XWindows 10 Redstone 1 (Anniversary Update, Version 1607)
Windows Server 2016
10.0.14393
-Windows 10 Insider Preview10.0.14915
XWindows 10 Redstone 2 (Creators Update, Version 1703)10.0.15063
XWindows 10 Redstone 3 (Fall Creators Update, Version 1709)10.0.16299
XWindows 10 Redstone 4 (April 2018 Update, Version 1803)10.0.17134
XWindows 10 Redstone 5 (October 2018 Update, Version 1809)10.0.17763
XWindows 10 19H1 May 2019 (Version 1903)10.0.18362
XWindows 10 19H2 November 2019 (Version 1909)10.0.19002
XWindows 10 20H1 May 2020 (Version 2004)10.0.19041
XWindows 10 20H2 October 2020 (Version 20H2)10.0.19042
XWindows 10 21H1 May 2021 (Version 2009)10.0.19043
XWindows 10 21H2 November 2021 (Version 21H2)10.0.19044
XWindows 10 22H2 October 2022 (Version 22H2)10.0.19045
XWindows 11 October 2021 (RTM)10.0.22000
XWindows 11 September 2022 (Version 22H2)10.0.22621
XWindows 11 October 2023 (Version 23H2)10.0.22631
XWindows 11 October 2024 (Version 24H2)10.0.26100

See also

Related Research Articles

cd (command) Computer command in various operating systems

The cd command, also known as chdir, is a command-line shell command used to change the current working directory in various operating systems. It can be used in shell scripts and batch files.

mkdir Directory creation command on various operating systems

The mkdir command in the Unix, DOS, DR FlexOS, IBM OS/2, Microsoft Windows, and ReactOS operating systems is used to make a new directory. It is also available in the EFI shell and in the PHP scripting language. In DOS, OS/2, Windows and ReactOS, the command is often abbreviated to md.

In computing, rmdir is a command which will remove an empty directory on various operating systems.

In computing, CLS is a command used by the command-line interpreters COMMAND.COM and cmd.exe on DOS, Digital Research FlexOS, IBM OS/2, Microsoft Windows and ReactOS operating systems to clear the screen or console window of commands and any output generated by them. It does not clear the user's history of commands, however. The command is also available in the DEC RT-11 operating system, in the open-source MS-DOS emulator DOSBox and in the EFI shell. In other environments, such as Linux and Unix, the same functionality is provided by the clear command.

In computing, echo is a command that outputs the strings that are passed to it as arguments. It is a command available in various operating system shells and typically used in shell scripts and batch files to output status text to the screen or a computer file, or as a source part of a pipeline.

cmd.exe Command prompt program

Command Prompt, also known as cmd.exe or cmd, is the default command-line interpreter for the OS/2, eComStation, ArcaOS, Microsoft Windows, and ReactOS operating systems. On Windows CE .NET 4.2, Windows CE 5.0 and Windows Embedded CE 6.0 it is referred to as the Command Processor Shell. Its implementations differ between operating systems, but the behavior and basic set of commands are consistent. cmd.exe is the counterpart of COMMAND.COM in DOS and Windows 9x systems, and analogous to the Unix shells used on Unix-like systems. The initial version of cmd.exe for Windows NT was developed by Therese Stowell. Windows CE 2.11 was the first embedded Windows release to support a console and a Windows CE version of cmd.exe. The ReactOS implementation of cmd.exe is derived from FreeCOM, the FreeDOS command line interpreter.

exit (command) Command of many operating system command line interpreters and scripting languages

In computing, exit is a command used in many operating system command-line shells and scripting languages.

more (command) Terminal pager available on various operating systems

In computing, more is a command to view the contents of a text file one screen at a time. It is available on Unix and Unix-like systems, DOS, Digital Research FlexOS, IBM/Toshiba 4690 OS, IBM OS/2, Microsoft Windows and ReactOS. Programs of this sort are called pagers. more is a very basic pager, originally allowing only forward navigation through a file, though newer implementations do allow for limited backward movement.

move (command)

In computing, move is a command in various command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS/4NT, and PowerShell. It is used to move one or more files or directories from one place to another. The original file is deleted, and the new file may have the same or a different name. The command is analogous to the Unix mv command and to the OpenVOS move_file and move_dircommands.

ren (command) Computer command

In computing, ren is a command in various command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS, 4NT and Windows PowerShell. It is used to rename computer files and in some implementations also directories. It is analogous to the Unix mv command. However, unlike mv, ren cannot be used to move files, as a new directory for the destination file may not be used. Alternatively, move may be used if available. On versions of MS-DOS that do not support the move command, the user would simply copy the file to a new destination, and then delete the original file. A notable exception to this rule is DOSBox, in which ren may be used to move a file, since move is not supported.

<span class="mw-page-title-main">TYPE (DOS command)</span>

In computing, type is a command in various command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS/4NT and Windows PowerShell used to display the contents of specified files on the computer terminal. The analogous Unix command is cat.

del (command) Command in various operating systems

In computing, del is a command in command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS, NDOS, 4OS2, 4NT and Windows PowerShell. It is used to delete one or more files or directories from a file system.

<span class="mw-page-title-main">PRINT (command)</span> Computing command

In computing, the print command provides single-user print spooling capability in a number of operating systems. It is roughly similar to that provided by the UNIX System V lp and BSD lpr print spooler systems.

find (Windows)

In computing, find is a command in the command-line interpreters (shells) of a number of operating systems. It is used to search for a specific text string in a file or files. The command sends the specified lines to the standard output device.

In some operating systems, vol is a command within the command-line interpreters (shells) such as COMMAND.COM and cmd.exe. It is used to display the volume label and volume serial number of a logical drive, such as a hard disk partition or a floppy disk, if they exist.

help (command) Command in various command line shells

In computing, help is a command in various command line shells such as COMMAND.COM, cmd.exe, Bash, qshell, 4DOS/4NT, Windows PowerShell, Singularity shell, Python, MATLAB and GNU Octave. It provides online information about available commands and the shell environment.

<span class="mw-page-title-main">TIME (command)</span>

In computing, TIME is a command in DEC RT-11, DOS, IBM OS/2, Microsoft Windows and a number of other operating systems that is used to display and set the current system time. It is included in command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS, 4OS2 and 4NT.

<span class="mw-page-title-main">MS-DOS</span> Discontinued Microsoft operating system

MS-DOS is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few operating systems attempting to be compatible with MS-DOS, are sometimes referred to as "DOS". MS-DOS was the main operating system for IBM PC compatibles during the 1980s, from which point it was gradually superseded by operating systems offering a graphical user interface (GUI), in various generations of the graphical Microsoft Windows operating system.

net (command)

In computing, net is a command in IBM OS/2, Microsoft Windows, ReactOS and Greentea OS used to manage and configure the operating system from the command-line. It is also part of the IBM PC Network Program for DOS.

comp (command)

In computing, comp is a command used on DEC OS/8, DOS, DR FlexOS, IBM OS/2, Microsoft Windows and related computer operating systems such as ReactOS. It is used to perform comparisons of multiple computer files to show the differences between them.

References

  1. "Software Reference Manual HDOS SYSTEM Chapter 2 General Operations" (PDF). Heath Company. Archived from the original (PDF) on 2017-08-07. Retrieved 2020-02-08.
  2. FlexOS™ User's Guide bitsavers.org Archived 2019-09-25 at the Wayback Machine
  3. "SpartaDOS X 4.48 User Guide" (PDF). Archived (PDF) from the original on 2021-10-10. Retrieved 2019-03-17.
  4. https://archive.org/details/4690OSV6r2UsersGuide/page/n169 [ permanent dead link ]
  5. "JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-21.
  6. "Microsoft TechNet Ver article". 11 September 2009. Archived from the original on 2018-02-03. Retrieved 2018-04-02.
  7. "Reactos/Reactos". GitHub . 4 November 2021.
  8. "Shell - KolibriOS wiki".
  9. "EFI Shells and Scripting". Intel . Retrieved 2013-09-25.
  10. "FLEX 9.0 User's Manual" (PDF). Archived (PDF) from the original on 2021-07-25. Retrieved 2019-06-10.
  11. "FLEX User's Manual (miniFLEX)" (PDF). Archived (PDF) from the original on 2021-07-25. Retrieved 2019-06-10.
  12. "FLEX 2.0 User's Manual" (PDF). Archived (PDF) from the original on 2021-07-25. Retrieved 2019-06-10.
  13. Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN   0-7356-1812-7.
  14. "DR DOS 6.0 User Guide Optimisation and Configuration Tips" (PDF). Archived from the original on 2019-09-30. Retrieved 2019-08-13.
  15. "PTS-DOS 2000 Pro User Manual" (PDF). Buggingen, Germany: Paragon Technology GmbH. 1999. Archived (PDF) from the original on 2018-05-12. Retrieved 2018-05-12.
  16. "MS-DOS subsystem commands". Archived from the original on 2019-04-13. Retrieved 2019-04-21.
  17. "Setver | Microsoft Docs". 11 September 2009. Archived from the original on 2019-08-15. Retrieved 2019-08-15.
  18. "Commands - DOSBoxWiki". Archived from the original on 2019-08-14. Retrieved 2019-08-14.
  19. Rugheimer, Hannes (1988). AmigaDOS quick reference. Abacus. ISBN   9781557550491.
  20. "Concise Command Language" (CCL). "OS/8 Handbook" (PDF). April 1974. Retrieved 28 November 2017.
  21. "VER output values". robvanderwoude.com.
  22. "Windows Version Numbers". gaijin.at.
  23. "Operating System Version - Win32 apps". 5 November 2021.

Further reading