Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam

 <  Day Day Up  >  

Using SETVER

You use the SETVER program to report a particular MS-DOS version number to enable device drivers or programs written for an older version of MS-DOS (or Windows command line) to run with Windows. Use SETVER if a device driver or program reports an "incorrect DOS version" when you attempt to load it.

SETVER is used in two ways:

  • When run from the command line, SETVER can display the version information stored in the program and let you add or remove programs from its version-table entries.

  • When added to Config.sys (Windows 9x/Me) or Config.nt (Windows NT/2000/XP), SETVER 's version-table entries are loaded into memory. Any program listed in SETVER 's version table that queries for the version of MS-DOS in use will receive that information from SETVER .

The following options are used with all versions of SETVER when it is run from the command prompt:

C:\WINDOWS\Desktop>setver /? Sets the MS-DOS version number that Windows 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 or /Q Hides the message typically displayed during deletion of version-table entry.

To install SETVER in memory, add the following line to Config.sys (Windows 9x/Me) or Config.nt (Windows NT/2000/XP):

C:\Windows\Command\setver.exe

 <  Day Day Up  >  

Категории