home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
religion
/
problems
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1991-07-28
|
1KB
|
42 lines
echo off
cls
FOR %%I in (A: a: B: b: C: c: D: d: E: e: F: f: G: g: H: h: I: i: J: j: K: k:) do If "%%I" == "%1" goto goodparm
goto help
:goodparm
echo This program will copy the PROBLEMS distribution diskette
echo files to the hard drive listed in the command line.
echo ┌──────────────────────────────────────────────────────┐
echo │ You are about to install PROBLEMS on %1\PROBLEMS │
echo └──────────────────────────────────────────────────────┘
echo If this is NOT what you want to do, please press Control-C at the
echo pause and re-enter it. Otherwise, press any key....
pause
echo Installing PROBLEMS . . .
md %1\PROBLEMS
echo copying diskone.exe to %1\PROBLEMS
copy DISKONE.EXE %1\PROBLEMS /v
echo If You're Installing on A: or B: Put your Other disk in now.
PAUSE
md %1\PROBLEMS
echo copying disktwo.exe to %1\PROBLEMS
copy DISKTWO.EXE %1\PROBLEMS /v
%1
cd \PROBLEMS
DISKTWO
DEL DISKTWO.EXE
echo If You're Installing on A: or B: Put your Other disk in now.
PAUSE
DISKONE
DEL DISKONE.EXE
goto exit
:help
echo Sorry, you must specify a drive on the command line to configure
echo PROBLEMS correctly. For instance, the following command:
echo ┌────────────────────────────┐
echo │ INSTALL C: │
echo └────────────────────────────┘
echo will copy the files to a directory called \PROBLEMS on drive C:. And
echo and configure PROBLEMS to run from the directory C:\PROBLEMS
:exit