Programming Field

Setver - DOS/Command Prompt Reference

[MS-DOS, Windows 95/98/Me] Manages the version table, allowing you to set the ‘MS-DOS version’ when running a program.

Note that to use the version table set with Setver, you need to load setver.exe in Config.sys beforehand.

Syntax

setver[.exe] [<setver-path>] [<file-name> [<version> | /DELETE [/QUIET]]

Options

When executed without options, Setver displays a list of currently registered versions.

<setver-path> Specifies the location (directory) of Setver.exe. When specified, the Setver.exe in this directory will be executed.
<file-name> Specifies the filename of the program for which to set the version.
<version> Specifies the MS-DOS version in the format ‘n.nn’ (e.g., 6.20, 4.00).
/DELETE Removes a program from the version table.
/QUIET Prevents the display of messages that appear when removing entries.

Details

By using Setver, you can change the MS-DOS version recognized by the DOS program you are running. Especially when executing a program designed for an older MS-DOS on a newer version, there might be cases where it fails the MS-DOS version check. In such situations, you can use this command to modify the version table, allowing you to bypass the version check.

Please note that to apply the changes, a system reboot is required.