Use Only Application Name when Adding to SETVER Version Table (74037)



The information in this article applies to:
    Microsoft MS-DOS operating system 5.0
    Microsoft MS-DOS operating system 5.0a
    Microsoft MS-DOS operating system 6.0
    Microsoft MS-DOS operating system 6.2
    Microsoft MS-DOS operating system 6.21
    Microsoft MS-DOS operating system 6.22

This article was previously published under Q74037

SUMMARY

When adding an application to the version table using the SETVER command, only the application filename should be used (without the full path). In addition, the application filename should include the extension. The proper syntax to use when adding an application to the version table using SETVER is

setver [drive:path] [filename n.nn]

where

[drive:path] specifies the location of the SETVER.EXE file

[filename is the name of application to be added, plus the extension

n.nn] is the version of MS-DOS reported to the program

MORE INFORMATION

Note that [drive:path] refers to the location of the SETVER.EXE file, not the location of the application to be added, and therefore, it is not necessary to include.

Two possible error messages can occur if the full pathname of the application is used when attempting to add to the version table:

ERROR: Could not find the file SETVER.EXE

Use "SETVER /?" for help.


ERROR: Missing Parameter

Use "SETVER /?" for help.
In each of the above cases, the application will not be added to the version table.

Modification Type: Major Last Reviewed: 5/10/2003
Keywords: KB74037