blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Setver--Notes

Using the version table

Many programs designed to run with a previous version of MS-DOS will run correctly with Windows NT. In some cases, however, a program might not run correctly unless its name is included in the version table. The table indicates to the program that it is running with the MS-DOS version for which it was designed, even though it is running in the MS-DOS subsystem. By interpreting MS-DOS version 5.0 as the earlier version, the program will probably run correctly; however, using setver will not solve the problem if the program is not compatible with Windows NT.

Loading the version table into memory

Before you can use the setver command, the version table must be loaded into memory by a device command in your CONFIG.NT file.

Restarting after updating the version table

When you update the version table by adding or deleting entries, you must start a new command prompt session to reread the version table.

Updating existing entries

If you specify a filename that is already in the version table, the new entry replaces the existing entry.

Setver exit codes

The following list shows each exit code and a brief description of its meaning:

0
Setver successfully completed its task.
1
The user specified an invalid command switch.
2
The user specified an invalid filename.
3
There is insufficient system memory to carry out the command.
4
The user specified an invalid version-number format.
5
Setver could not find the specified entry in the version table.
6
Setver could not find the SETVER.EXE file.
7
The user specified an invalid drive.
8
The user specified too many command-line parameters.
9
Setver detected missing command-line parameters.
10
Setver detected an error while reading the SETVER.EXE file.
11
The SETVER.EXE file is corrupt.
12
The specified SETVER.EXE file does not support a version table.
13
There is insufficient space in the version table for a new entry.
14
Setver detected an error while writing to the SETVER.EXE file.

You can use the errorlevel parameter on the if command line in a batch program to process exit codes returned by setver. For an example of a batch program that processes exit codes, see the if command.

More Information About Setver

ntcmds00000001.gif Setver--Examples

ntcmds00000001.gif Setver

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609