Dec 132017
 
This program returns the DOS errorlevel corresponding to the monitor type detected for your current graphics adapter card.
File VIDMODE.ZIP from The Programmer’s Corner in
Category Batch Files
This program returns the DOS errorlevel corresponding to the monitor type detected for your current graphics adapter card.
File Name File Size Zip Size Zip Type
VIDMODE.DOC 1063 517 deflated
VIDMODE.EXE 8320 5110 deflated

Download File VIDMODE.ZIP Here

Contents of the VIDMODE.DOC file


Monitor Type Detection Utility Copyright (c) 1990, Edward M Grabowski


SYNTAX: VidMode [ ? ]

This program returns the DOS errorlevel corresponding to the monitor type
detected for your current graphics adapter card.

ErrorLevel Monitor Type

0 Cannot detect monitor type
1 CGA
2 MCGA
3 EGA
4 EGA 64
5 EGA Monochrome
6 IBM 8514
7 Hercules Monochrome
8 AT&T 400
9 VGA
10 PC 3270

Output can be redirected to any standard DOS device, including PRN and NUL.

This program was created to solve a problem with multiple monitors on a LAN
and Microsoft Word 5.0. It was used in a batch file to test for the monitor
type so that the appropriate SCREEN.VID file would be loaded for the current
workstation configuration.

I hope you find it useful.

Ed


 December 13, 2017  Add comments

Leave a Reply