ANSIHERE
Test for ANSI.SYS		            Version 1.0
-------------------------------------------------------

Purpose
-------
Quickly identifies whether or not ANSI.SYS is loaded
from the command prompt or in a batch file.

Format
------

    ANSIHERE

Some programs use ANSI.SYS to redefine keys or set
screen colors. The DOS MODE command uses it to set
the number of lines on-screen.

You can tell whether ANSI.SYS is loaded by examining
your CONFIG.SYS file, but ANSIHERE is easier. And, if
used in a batch file, it sets an exit code of 1 that
the DOS ERRORLEVEL command can read. This way your
batch files can execute ANSI instructions only if ANSI
happens to be loaded.
