home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
statstcs
/
mystat.arc
/
M1.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-02-15
|
2KB
|
61 lines
echo off
cls
a:
verify on
if %1 == FLOPPY goto floppy
if %1 == HARD goto hard
ECHO Welcome to MYSTAT. Before you can use MYSTAT, you must make a copy of this
echo disk. If you have a hard disk, type the following in upper case:
echo
echo A:INSTALL HARD [Enter]
ECHO
echo If you have a floppy disk machine, you must first FORMAT two new disks and
echo place DOS on them. Find your DOS disk, insert it in drive A:, put a new
echo disk in drive B: and type:
ECHO
echo FORMAT B:/S [Enter]
ECHO
echo When you have formatted this disk, remove it and label it MYSTAT/WORK with a
echo pen. Answer N to the "Format Another? (Y/N)" question. Then label a second
echo disk MYSTAT/PROGRAM with a pen and insert it into drive B: and type:
echo
echo FORMAT B: [Enter]
echo
echo Do not add the /S option this time. After you have formatted this second
echo disk, answer N to the Format question and remove the DOS disk from drive A:
echo Place the original MYSTAT disk in drive A: and leave the new MYSTAT/PROGRAM
echo disk in drive B: and type in upper case after the DOS prompt:
ECHO
echo INSTALL FLOPPY
goto quit
:floppy
copy *.* b:
rename b:mystar.exe mystat.exe
b:
goto end
:hard
ECHO
ECHO The following installation procedure will set up your hard disk to run
echo MYSTAT. First, it will create a subdirectory on your hard disk called
echo SYSTAT. Then, it will copy MYSTAT to this subdirectory. Next, it will
echo copy a file called CONFIG.SYS to your root directory on the hard disk.
echo If you already have a file called CONFIG.SYS, this INSTALL procedure
echo will not erase it. Instead, it will add two lines to the end of your
echo CONFIG.SYS file. None of these modifications will affect other software
echo and the INSTALL procedure will not otherwise modify or erase any files
echo you have on the hard disk.
echo
echo If you receive the message "Unable to create directory" when you run this,
echo do not worry. It means that you already have a subdirectory called
echo \SYSTAT. In this case, the install procedure will copy MYSTAT into your
echo exising \SYSTAT directory.
pause
mkdir c:\systat
copy a:*.* c:\systat
c:
cd \systat
:end
if %1 == FLOPPY M2 FLOPPY
if %1 == HARD M2 HARD
:quit