Microsoft DOS setver command

Updated: 05/21/2018 by Computer Hope

About setver

For setver to work, setver.exe device must be loaded in the config.sys.

Setver is used to imitate the version of DOS in case an application was unable to run because of a newer version of MS-DOS.


The setver command is an external command that is available in the below Microsoft operating systems as setver.exe.

Setver syntax

Sets the MS-DOS version number that Windows reports to a program.

Display current version table: SETVER [drive:path]
Add entry: SETVER [drive:path] file name n.nn
Delete entry: SETVER [drive:path] file name /DELETE [/QUIET]
[drive:path] Specifies location of the SETVER.EXE file.
file name Specifies the file name of the program.
n.nn Specifies the MS-DOS version to be reported to the program.
/DELETE or /D Deletes the version-table entry for the specified program.
/QUIET or /Q Hides the message typically displayed during deletion of version-table entry.

Setver examples

setver 4.01

Trick programs into thinking you're running 4.01.

Additional information

  • See our version definition for further information and related links on this term.