" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
VER (Version) COMMAND
Purpose: Displays the operating system version number or modifies it.
Syntax: VER [version|/R]
Type: Internal command
Description:
The version number consists of a digit defining the main version
number, a dot, and a two digits defining the revision number.
Parameters:
version - the version number you want to set,
/R - sets the actual DOS version number.
Examples:
1. A>ver
This commAND displays the data:
DOS version 5.00
2. Setting another DOS version may be achieved by typing:
A:\>VER 4.10
The change will immediately appear on the screen:
DOS Version 4.10
3. To restore the original DOS version, type
A:\>VER /R
Modifying the DOS version number is necessary for running certain programs
that were originally tied to a particular version of DOS, but still can
operate under later versions as well. The GetDosVersion DOS function (int
21h/AH=30h) returns the value set by the inerpreter, while the
GetTrueDosVersion (int 21h/AX=3306h) returns the correct value.