Setver /? [Drive: Path] Refers to SETVER, Not Executable (74046)



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 Q74046

SUMMARY

The syntax for the SETVER command is as follows:

setver [drive:path] filename version

Where [drive:path] refers to the drive and the path of SETVER, not the filename that will follow it. When using the SETVER /? help menu, this syntax is not at first apparent. The following example adds the file C:\PROGRAM.EXE:

setver c:\dos c:\program.exe 4.01

MORE INFORMATION

SETVER may return the error:

ERROR: Missing parameter.

Use "SETVER /?" for help


Typing setver /? at the DOS prompt will give the following help screen:
Sets the version number that MS-DOS reports to a program.

Display current
version table:      SETVER [drive:path]
Add entry:          SETVER [drive:path] filename n.nn
Delete entry:       SETVER [drive:path] filename /DELETE [/QUIET]

  [drive:path]      Specifies location of the SETVER.EXE file.
  filename          Specifies the filename 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            Hides the message typically displayed during
                    deletion of version-table entry.

Modification Type: Major Last Reviewed: 5/12/2003
Keywords: KB74046