
echo off
rem  This installation program is intended to be used with a
rem  720K 3-1/2", 1.44M 3-1/2", or 1.2M 5-1/4" floppy disks.
rem  DOC DEFIANT can be compressed to fit within a 360K 5-1/4"
rem  floppy.  If you choose to distribute on a 360K floppy,
rem  however, this installation program will not function
rem  properly and you must contact Just For Me Software
rem  directly for a revised version that will.
cls

if "%1" == "" goto INSTRUCT 
if "%2" == "" goto INSTRUCT 
if "%1" == "A:" goto INSTALL
if "%1" == "a:" goto INSTALL
if "%1" == "B:" goto INSTALL
if "%1" == "b:" goto INSTALL

goto INSTRUCT

:INSTALL
echo  DOC DEFIANT Hard Disk Installation
echo  ----------------------------------
echo  This program will install DOC DEFIANT on your hard
echo  disk in a directory called %2/DEFIANT from  your
echo  floppy disk in drive %1.  You must have 1.0 Megabyte
echo  free on your hard drive.

pause
md %2\DEFIANT 

cls
echo  --- LOADING PROGRAM FILES --- 
copy %1\*.* %2\DEFIANT\*.* 
 
echo   
cls
echo  DOC DEFIANT   
echo  ------------  
echo  TO START, MOVE TO THE %2\DEFIANT DIRECTORY, AND 
echo  ENTER THE FOLLOWING:
echo  - 
echo    START  -- To Run Program 
echo  -
echo  WE HOPE YOU ENJOY!!! 
pause
%2
cd\DEFIANT 
goto EXIT

:INSTRUCT 
cls 
echo  DOC DEFIANT Hard Disk Installation 
echo  ---------------------------------- 
echo  This program installs DOC DEFIANT on your hard
echo  drive.  For this program, please adopt the following
echo  format:
echo  - 
echo                 INSTALL A: C:
echo  -  
echo      where A: = floppy disk drive from which you're loading
echo                 the program
echo            C: = hard drive on which the program is to be
echo                 installed
echo  -
echo  Substitute other drive letters as appropriate.   Please
echo  note you must have 1.0 Megabyte free on your hard drive.

pause
cls 
goto EXIT 
          
:EXIT 
