VER Console Command |
Version Information |
The following commands can be used to change version information for the current program (or other programs):
VER * (or VER LIST) |
Displays all versions on the current program. |
VER CLEAN |
Removes all interim versions (other than the current version) from program file(s). |
VER DROP vn.nn.nnnn |
Drops a specific version from a program file. |
VER GOTO vn.nn.nnnn |
Restores program file to the specified version. All versions whose version number is greater than the version specified will be removed. |
VER SET vn.nn.nnnn |
Changes the version number for the current version of a program on the file to the number specified. |
VER SINGLE |
Removes all versions except the most recent from program file(s). |
VER UPD vn.nn.nnnn (or UPDATE) |
Changes the version number for the current version of a program on the file to the number specified but only if the current version on the file is an interim version. This is designed to allow the developer to update the version number for only those programs that have changed since a prior release. |
All of the above commands (except VER */LIST) can include FOR program/directory on the end of the command. If a program name is specified, the command will execute against that program file. If a directory is specified, the command will execute against all programs in that directory.
The VER command is available from Command mode and can be used to view and change the versions information on the current program or a series of programs.
Typical Uses of the VER Command
To prepare a release, copy programs to an output directory, then issue:
VER CLEAN FOR dir
VER UPDATE vn.nn ! Sets all programs to that version
To recall a release, copy programs to a temp directory, then issue:
VER GOTO vn.nn
(e.g. VER GOTO v1.23 would restore all programs to 1.23 version)