home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
educ
/
phonics2.zip
/
PLACE.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-08-17
|
2KB
|
84 lines
ECHO off
REM Stone & Associates (c) 1988
REM 2nd bat file in the install process
REM %1 -- should be directory
REM %2 -- should be drive (A not valid)
if %2. == a. goto err
if %2. == A. goto err
if %1. == . if %2. == . goto stone
if %2. == . goto contc
goto cont
:ERR
ECHO ERROR in entering PLACE directory
ECHO You must enter
ECHO.
ECHO PLACE directory [drive]
ECHO.
ECHO Try again....
goto end
REM -----with drive entered ------
:CONT
%2:
mkdir %2:\%1
cd %2:\%1
goto copy
REM ----drive C assumed ------
:CONTC
c:
mkdir c:\%1
cd c:\%1
goto copy
REM -----STONE with drive C assumed ----
:STONE
c:
mkdir c:\STONE
cd c:\STONE
:COPY
REM -------------
REM program files to copy
REM -------------
copy a:px.bat /v > nul
copy a:pxgames.bat /v > nul
copy a:phonics.bat /v > nul
copy a:*.exe /v
copy a:*.bsv /v > nul
copy a:*.dat /v > nul
copy a:color.com /v > nul
copy a:simcga.com /v > nul
copy a:rmvcga.com /v > nul
REM -------------
:DONE
ECHO.
ECHO INSTALLATION IS COMPLETE.
ECHO.
ECHO ┌───
ECHO │ You should now remove and store the
ECHO │ ORIGINAL program diskette in a safe
ECHO │ place and retain it as your backup.
ECHO │
ECHO │ To run the program on the hard disk
ECHO │ you should change directory to the
ECHO │ name you specified. (for example:)
ECHO │
ECHO │ C: (hard disk)
ECHO │ CD\ STONE (directory name)
ECHO │
ECHO │ Then to start the program type....
if EXIST PHONMENU.exe if EXIST PXMENU.exe ECHO │ PHONICS (for master menu)
if EXIST PHONMENU.exe ECHO │ PX (for drills only)
if EXIST PXMENU.exe ECHO │ PXGAMES (for games only)
ECHO └───
ECHO.
cd\
a:
:END