home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.sudleyplace.com
/
ftp.sudleyplace.com.tar
/
ftp.sudleyplace.com
/
binaries
/
max
/
maxtest.bat
< prev
next >
Wrap
DOS Batch File
|
2006-10-20
|
1KB
|
46 lines
ECHO OFF
cls
echo Q Newletter On-Line ----- Q & A --- Volume 3 * Issue I -----------------
echo
echo Q. How can I tell, from a batch file, if 386MAX is installed?
echo
echo A. DOS provides a batch file command to identify the presence of any
echo resident software in the system. The following batch file, TEST.BAT,
echo shows how to use DOS's IF EXIST command to do just that. In addition,
echo TEST.BAT will also determine if EMS services are available.
echo
echo 386MAX is (c) Copyright 1990, Qualitas, Inc.
echo
pause
echo TEST.BAT
rem ============================Top of File================================
echo off
cls
if exist 386MAX$$ goto 386MAX-ON
echo 386MAX is not installed.
if exist EMMXXXX0 goto ODD-EMS
echo EMS support is not available.
goto END
:386MAX-ON
if exist QMMXXXX0 goto EMS-OFF
echo 386MAX is installed and EMS support is active.
goto END
:EMS-OFF
echo 386MAX is installed but EMS support is not available.
echo 386MAX might be in OFF mode or EMS=0 is active.
goto END
:ODD-EMS
echo 386MAX is not installed.
echo Another EMS driver is installed and active.
:END
echo off
rem ============================End of File================================