echo off
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   
echo  SIMPLE SIMON'S PHOTO SCRAMBLE Hard Disk Installation
echo  
echo  This program will install SIMPLE SIMON'S PHOTO SCRAMBLE
echo  on your hard disk in a directory called %2/SSPS from  
echo  your floppy disk in drive %1.  You must have 1 Megabyte
echo  free on your hard drive for the self-extracting files
echo  to run properly.  The final program will occupy about
echo  600K.
echo  

pause
md %2\ssps 
cls

echo    
echo  --- LOADING PROGRAM FILES --- 
echo   
copy %1\scramb.exe %2\ssps\*.* 
copy %1\file_id.diz %2\ssps\*.*
copy %1\vendor.doc %2\ssps\*.*

echo  
echo  --- DECOMPRESSING PROGRAM FILES --- 
echo   
%2
cd\ssps 
scramb 

echo   
echo  --- ELIMINATING COMPRESSED VERSIONS --- 
echo   
del scramb.exe 
cls

echo    
echo  TO START, MOVE TO THE %2\SSPS DIRECTORY, AND 
echo  ENTER THE FOLLOWING:
echo   
echo    SCRAMBLE  -- To Run Program 
echo  
echo  WE HOPE YOU ENJOY!!! 
echo   
  
pause
goto EXIT

:INSTRUCT 
echo   
echo  SIMPLE SIMON'S PHOTO SCRAMBLE Hard Disk Installation 
echo   
echo  This program installs SIMPLE SIMON'S PHOTO SCRAMBLE
echo  on your hard drive.
echo  
echo  For this program, please adopt the following 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 for the self-
echo  extracting files to run properly.  The final program will
echo  occupy about 600K.
echo  
pause
cls 
goto EXIT 
          
:EXIT 
