ver (command)

The command is available in FLEX, HDOS,[1] DOS, FlexOS,[2] SpartaDOS X,[3] 4690 OS,[4] OS/2,[5] Windows,[6] and ReactOS.

[9] In TSC's FLEX operating system, the VER command is used to display the version number of a utility or program.

The argument "/r" can be added to give more information and to list whether DOS is running in the HMA (high memory area).

PTS-DOS includes an implementation of this command that can display, modify, and restore the DOS version number.

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).

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.

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.

The ver command on ReactOS
The winver command on Windows 11