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 Shell8 and in the EFI shell.9
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.1112
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
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).
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
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:
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
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
Some versions of MS-DOS support an undocumented /r switch, which will show the revision as well as the version.
The following table lists version numbers from various Microsoft operating systems:212223
"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. https://web.archive.org/web/20170807205702/http://sebhc.lesbird.com/documentation/software/HDOS-2/HDOS_Reference_Chapter2.pdf ↩
FlexOS™ User's Guide bitsavers.org Archived 2019-09-25 at the Wayback Machine http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf ↩
"SpartaDOS X 4.48 User Guide" (PDF). Archived (PDF) from the original on 2021-10-10. Retrieved 2019-03-17. http://sdx.atari8.info/sdx_files/4.48/SDX448_User_Guide.pdf ↩
https://archive.org/details/4690OSV6r2UsersGuide/page/n169 [permanent dead link] https://archive.org/details/4690OSV6r2UsersGuide/page/n169 ↩
"JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-21. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#VER ↩
"Microsoft TechNet Ver article". 11 September 2009. Archived from the original on 2018-02-03. Retrieved 2018-04-02. https://technet.microsoft.com/en-us/library/bb491028.aspx ↩
"Reactos/Reactos". GitHub. 4 November 2021. https://github.com/reactos/reactos/blob/master/base/shell/cmd/ver.c ↩
"Shell - KolibriOS wiki". http://wiki.kolibrios.org/wiki/Shell ↩
"EFI Shells and Scripting". Intel. Retrieved 2013-09-25. http://software.intel.com/en-us/articles/efi-shells-and-scripting/ ↩
"FLEX 9.0 User's Manual" (PDF). Archived (PDF) from the original on 2021-07-25. Retrieved 2019-06-10. http://www.flexusergroup.com/flexusergroup/pdfs/swflexum.pdf ↩
"FLEX User's Manual (miniFLEX)" (PDF). Archived (PDF) from the original on 2021-07-25. Retrieved 2019-06-10. http://www.flexusergroup.com/flexusergroup/pdfs/miniflex.pdf ↩
"FLEX 2.0 User's Manual" (PDF). Archived (PDF) from the original on 2021-07-25. Retrieved 2019-06-10. http://www.flexusergroup.com/flexusergroup/pdfs/flex2um.pdf ↩
Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7. 0-7356-1812-7 ↩
"DR DOS 6.0 User Guide Optimisation and Configuration Tips" (PDF). Archived from the original on 2019-09-30. Retrieved 2019-08-13. https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf ↩
"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. http://download.paragon-software.com/doc/manual_dos_eng.pdf ↩
"MS-DOS subsystem commands". Archived from the original on 2019-04-13. Retrieved 2019-04-21. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490895(v%3dtechnet.10) ↩
"Setver | Microsoft Docs". 11 September 2009. Archived from the original on 2019-08-15. Retrieved 2019-08-15. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490782(v=technet.10) ↩
"Commands - DOSBoxWiki". Archived from the original on 2019-08-14. Retrieved 2019-08-14. https://www.dosbox.com/wiki/Commands ↩
Rugheimer, Hannes (1988). AmigaDOS quick reference. Abacus. ISBN 9781557550491. 9781557550491 ↩
"Concise Command Language" (CCL)."OS/8 Handbook" (PDF). April 1974. Retrieved 28 November 2017. http://bitsavers.trailing-edge.com/pdf/dec/pdp8/os8/OS8_Handbook_Apr1974.pdf ↩
"VER output values". robvanderwoude.com. http://www.robvanderwoude.com/ver.php ↩
"Windows Version Numbers". gaijin.at. https://www.gaijin.at/en/infos/windows-version-numbers ↩
"Operating System Version - Win32 apps". 5 November 2021. https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx ↩