CHKMON.COM By Mike Edgerton CHKMON.COM is a batch file utility that checks to see what kind of video adapter is installed in your computer, and sets the DOS errorlevel on exit. You can then read the errorlevel, and make a determination of what switches to use when loading a program. On a network that has many different combinations of machines that are accessing the same programs, you can now determine the command line switches to use for the monitor combination you have. To use CHKMON.COM you simply list it in a batch file. The correct syntax is: CHKMON You then check the DOS Errorlevel to determine the adapter card that is installed. The Errorlevels are as follows: Errorlevel: Description: --------------------------------------------------------------- Errorlevel 1 Monochrome Adapter Errorlevel 2 Hercules Monochrome Adapter Errorlevel 3 CGA Adapter Errorlevel 4 EGA Adapter w/Monochrome Monitor Errorlevel 5 EGA Adapter w/Color Monitor Errorlevel 6 VGA Adapter w/Monochrome Monitor Errorlevel 7 VGA Adapter w/Color Monitor Errorlevel 8 MCGA Adapter w/Mono Monitor Errorlevel 9 MCGA Adapter w/Color Monitor Errorlevel 10 EGA Adapter w/CGA Monitor Errorlevel 11 IBM 8514/A Help is available by entering: CHKMON /? or /H or /HELP To check the version number enter: CHKMON /V or /VER This Zip file also includes a batch file to demonstrate CHKMON.COM. That file is called SHOW.BAT. CHKMON.COM is Freeware. It cannot be sold for any price. You are free to use CHKMON.COM on any Network anywhere anytime, as long as it is not sold. If you like this program and use it, drop me a line on Compuserve. Mike Edgerton CIS 76337,566