home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
statstcs
/
mystat.arc
/
M2.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-02-15
|
3KB
|
86 lines
if %1 == HARD goto hard
if %1 == FLOPPY goto floppy
goto end
:floppy
cls
echo
echo
echo
ECHO ╔══════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ Remove original MYSTAT disk from floppy drive A: ║
echo ║ and insert formatted MYSTAT/WORK disk in drive A: ║
echo ║ ║
ECHO ╚══════════════════════════════════════════════════════════╝
echo
echo
pause
copy m3.bat a:
copy config.sys a:
copy mystat.def a:
copy mystat.men a:
copy mystat.hlp a:
copy mystat.txt a:
copy demo.cmd a:
goto continue
:hard
if not exist c:\systat\mystar.exe goto trap
rename mystar.exe mystat.exe
if not exist c:\config.sys goto conf1
copy c:\config.sys+c:\systat\config.sys c:\config.sys
goto conf2
:conf1
copy c:\systat\config.sys c:\config.sys
:conf2
if not exist c:\config.sys goto trap
:disk1
cls
echo
echo
echo
ECHO ╔══════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ Remove MYSTAT disk from floppy drive and insert DOS ║
echo ║ disk in drive ║
echo ║ ║
ECHO ╚══════════════════════════════════════════════════════════╝
echo
pause
ECHO
if exist a:ansi.sys goto dos
echo You did not put DOS disk in floppy drive. It should be near your DOS manual.
goto disk1
:dos
copy a:ansi.sys c:\ansi.sys
if not exist c:\ansi.sys goto trap
cls
echo MYSTAT is now installed on your hard disk. Remove your DOS disk from the
echo floppy drive and reset your computer by pressing the Ctrl-Alt-Del keys at
echo the same time. Then change your directory to \SYSTAT by typing:
echo
echo CD \SYSTAT
echo
echo then type:
echo
echo MYSTAT
echo
echo If you include the path statement PATH \SYSTAT in your AUTOEXEC.BAT file in
echo the root directory, you can use MYSTAT from any directory on your hard disk.
echo Once you see the MYSTAT menu, you should type:
echo
echo DEMO
echo
echo to see a demonstration of MYSTAT. After that, the INTRO command will show
echo you how to use all the commands in MYSTAT. The HELP command will give you
echo detailed information on each command. Before you reset your machine, you
echo should turn on your printer and press Shift-PrtSc simultaneously to get a
echo printed copy of this screen.
goto end
:trap
echo The installation has failed. Check your disk and retry.
goto end
:continue
a:
M3
:end