Microsoft KB Archive/74046

= Setver /? [Drive: Path] Refers to SETVER, Not Executable =

Article ID: 74046

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition
 * Microsoft MS-DOS 5.0a
 * Microsoft MS-DOS 6.0 Standard Edition
 * Microsoft MS-DOS 6.2 Standard Edition
 * Microsoft MS-DOS 6.21 Standard Edition
 * Microsoft MS-DOS 6.22 Standard Edition

-



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 &quot;SETVER /?&quot; 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.

Additional query words: 6.22 5.x 6.00 6.20 online help

Keywords: KB74046

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.