Reports a Dos version number to programs that were designed for earlier versions of MS-Dos and do not work with the current version.
Syntax:
To display the current version table:
SETVER
To add an entry:
SETVER progname n.nn
To delete an entry:
SETVER progname /D [/Q]
progname | The filename of the program |
n.nn | The Dos version to be reported to the program. |
/D | Deletes the version-table entry for the specified program. |
/Q | Hides the message typically displayed during deletion of version-table entry. |
Notes:
Many programs designed to run with a previous version of Dos will run without any problems under MS-Dos 7. In some cases, however, a program will check the system Dos version to confirm that it is the one with which it was designed to work. By including such a program, with its Dos version, in the SETVER table, the program interprets Dos 7 as whatever version is appropriate. Considerable effort has been put into designing each version of Dos to be compatible with its predecessors, but if a program is not compatible with Dos7, using SETVER will not solve the problem.
When an addition is made to the version table, the following message is displayed (as long as no errors are detected):
C:\WINDOWS>setver share.exe 4.0
WARNING - The application you are adding to the Windows version table
may not have been verified by Microsoft on this version of Windows.
Please contact your software vendor for information on whether this
application will operate properly under this version of Windows.
If you execute this application by instructing Windows to report a
different MS-DOS version number, you may lose or corrupt data, or
cause system instabilities. In that circumstance, Microsoft is not
responsible for any loss or damage.
Version table successfully updated.
The version change will take effect the next time you restart your system.
C:\WINDOWS>_
|
When a program is removed from the version table, the following message is displayed (as long as no errors are detected):
C:\WINDOWS>setver share.exe /d
Version table successfully updated.
The version change will take effect the next time you restart your system.
C:\WINDOWS>_
|
When Windows 95 is installed, the SETVER table includes the following entries:
Program Ver. |
Program Ver. |
Program Ver. |
KERNEL.EXE 5.00
NETX.COM 5.00
NETX.EXE 5.00
NET5.COM 5.00
BNETX.COM 5.00
BNETX.EXE 5.00
EMSNETX.EXE 5.00
EMSNET5.EXE 5.00
XMSNETX.EXE 5.00
XMSNET5.EXE 5.00
DOSOAD.SYS 5.00
REDIR50.EXE 5.00
REDIR5.EXE 5.00
REDIRALL.EXE 5.00
REDIRNP4.EXE 5.00
EDLIN.EXE 5.00
BACKUP.EXE 5.00
ASSIGN.COM 5.00
EXE2BIN.EXE 5.00 |
JOIN.EXE 5.00
RECOVER.EXE 5.00
GRAFTABL.COM 5.00
LMSETUP.EXE 5.00
STACKER.COM 5.00
NCACHE.EXE 5.00
NCACHE2.EXE 5.00
IBMCACHE.SYS 5.00
XTRADRV.SYS 5.00
2XON.COM 5.00
WINWORD.EXE 4.10
EXCEL.EXE 4.10
LL3.EXE 4.01
REDIR4.EXE 4.00
REDIR40.EXE 4.00
MSREDIR.EXE 4.00
WIN200.BIN 3.40
METRO.EXE 3.31
DISKFIX.EXE 1.00 |
10NET.COM 6.20
DBLSPACE.EXE 6.20
APPEND.EXE 6.20/7.10*
BASIC.COM 6.20/7.10*
BASICA.COM 6.20/7.10*
DISKCOMP.EXE 6.20/7.10*
EXTDISK.SYS 6.20/7.10*
GRAPHICS.COM 6.20/7.10*
FASTOPEN.EXE 6.20/7.10*
MODE_DOS.COM 6.20/7.10*
PRINT.EXE 6.20/7.10*
REPLACE.EXE 6.20/7.10*
RESTORE.EXE 6.20/7.10*
SCPLUS.EXE 6.20/7.10*
SCSIC710.SYS 6.20/7.10*
TREE.COM 6.20/7.10*
VDISK.SYS 6.20/7.10*
|
* Where two values are given, the first refers to the version assigned in W95 Upgrade version, and the second in Win95B OSR2.5. |
Exit Codes:
0 | The SETVER command was completed without errors. |
1 | An invalid command switch was specified. |
2 | An invalid filename was specified. |
3 | Insufficient system memory to carry out the command. |
4 | An invalid version-number format was specified. |
5 | The specified entry in the version table was not found. |
6 | SETVER could not find "setver.exe" . |
7 | An invalid drive was specified. |
8 | There were too many command line parameters. |
9 | SETVER detected missing command line parameters |
10 | Error detected while reading "setver.exe". |
11 | "Setver.exe" is corrupt. |
12 | The specified "setver.exe" does not support a version table. |
13 | Insufficient space in the version table for a new entry. |
14 | Error detected while writing to "setver.exe". |
File Details:
File Name | Default Location | Dos Ver. | Win Ver. | Size | Date | Source |
Setver.exe | c:\windows |
7.0 | Win95 |
18 9391 | 11/07/95 | win95_09.cab |
7.1 | Win95 (OSR2.x) |
18 9392 | 24/08/96 | win95_14.cab |
Win98 |
18 939* | 11/05/98 | win98_42.cab |
Win98 SE |
18 9393 | 23/04/99 | win98_46.cab |
Superscripts denote which same size files, if any, are identical (using FC). * not compared.
|