home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
besth158.zip
/
REINSTAL.BAT
< prev
Wrap
DOS Batch File
|
1995-06-04
|
9KB
|
179 lines
@ECHO OFF
IF "%1" == "" GOTO DEFAULT
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ REINSTAL will: ░░
ECHO ░░ ░░
ECHO ░░ * Make a directory %1:\BESTHES. ░░
ECHO ░░ ░░
ECHO ░░ The drive must be A, B or C (or the host of C if DOUBLE-SPACED). ░░
ECHO ░░ ░░
ECHO ░░ WE HIGHLY RECOMMEND THAT YOU INSTALL BESTHES IN THE HARD DISK ░░
ECHO ░░ TO ENJOY ITS MAXIMUM SPEED. ░░
ECHO ░░ ░░
ECHO ░░ ** Copy BESTHES' files into %1:\BESTHES. ░░
ECHO ░░ ░░
ECHO ░░ *** Run BESTHES. ░░
ECHO ░░ ░░
ECHO ░░ **** Give you the option to delete BESTHES' files from their ░░
ECHO ░░ previous location. ░░
ECHO ░░ ░░
ECHO ░░ Before you run INSTALL, you must change the current path to ░░
ECHO ░░ that in which BESTHES' files are. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
PAUSE
GOTO NODEF
:DEFAULT
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ REINSTALL will: ░░
ECHO ░░ ░░
ECHO ░░ * Make a directory C:\BESTHES. C is the default drive. ░░
ECHO ░░ If you want to install besthes in a drive other than C ░░
ECHO ░░ you must specify it. ░░
ECHO ░░ Example: INSTALL A ░░
ECHO ░░ The drive must be A, B or C (or the host of C if DOUBLE-SPACED). ░░
ECHO ░░ ░░
ECHO ░░ WE HIGHLY RECOMMEND THAT YOU INSTALL BESTHES IN THE HARD DISK ░░
ECHO ░░ TO ENJOY ITS MAXIMUM SPEED. ░░
ECHO ░░ ░░
ECHO ░░ ** Copy BESTHES' files into C:\BESTHES. ░░
ECHO ░░ ░░
ECHO ░░ *** Run BESTHES. ░░
ECHO ░░ ░░
ECHO ░░ **** Give you the option to delete BESTHES' files from their ░░
ECHO ░░ previous location. ░░
ECHO ░░ ░░
ECHO ░░ Before you run INSTALL, you must change the current path to ░░
ECHO ░░ that in which BESTHES' files are. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
PAUSE
:NODEF
IF EXIST BESTHES.COM GOTO SI
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ Change current drive and directory to those in which ░░
ECHO ░░ ░░
ECHO ░░ BESTHES' files are. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ' '
GOTO END
:SI
IF "%1" == "" GOTO NO
IF "%1" == "A" GOTO DOIT
IF "%1" == "a" GOTO DOIT
IF "%1" == "B" GOTO DOIT
IF "%1" == "b" GOTO DOIT
IF "%1" == "c" GOTO DOIT
IF "%1" == "C" GOTO DOIT
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ A directory \BESTHES will be created in drive %1 ░░
ECHO ░░ ░░
ECHO ░░ and BESTHES' files copied into it. ░░
ECHO ░░ ░░
ECHO ░░ Be SURE %1 is the HOST drive of the DOUBLE-SPACED drive C; ░░
ECHO ░░ ░░
ECHO ░░ otherwise, press ^C to return to DOS and change the drive. ░░
ECHO ░░ ░░
ECHO ░░ The drive must be A, B or C (or the host of C if DOUBLE-SPACED). ░░
ECHO ░░ ░░
ECHO ░░ WE HIGHLY RECOMMEND THAT YOU INSTALL BESTHES IN THE HARD DISK ░░
ECHO ░░ TO ENJOY ITS MAXIMUM SPEED. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ' '
PAUSE
GOTO COPI
:DOIT
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ A directory \BESTHES will be created in drive %1 ░░
ECHO ░░ ░░
ECHO ░░ and BESTHES' files copied into it. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ' '
PAUSE
:COPI
MD %1:\BESTHES
ECHO ON
COPY READ_ME.1ST %1:\BESTHES/v
COPY REINSTAL.BAT %1:\BESTHES/v
COPY INSTALL.DOC %1:\BESTHES/v
COPY REGISTER.DOC %1:\BESTHES/v
COPY BESTHES.DOC %1:\BESTHES/v
COPY FILE_ID.DIZ %1:\BESTHES/v
COPY OMBUDSMA.TXT %1:\BESTHES/v
COPY LICENSE.TXT %1:\BESTHES/v
COPY VENDOR.TXT %1:\BESTHES/v
COPY BESTHES.WND %1:\BESTHES/v
COPY BW.BAT %1:\BESTHES/v
COPY BESTHES.COM %1:\BESTHES/v
COPY BESTHES.CDF %1:\BESTHES/v
COPY BESTHES.DIC %1:\BESTHES/v
COPY BONUS.TXT %1:\BESTHES/v
GOTO END
:NO
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ A directory \BESTHES will be created in drive C ░░
ECHO ░░ ░░
ECHO ░░ and BESTHES' files copied into it. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ' '
PAUSE
MD C:\BESTHES
ECHO ON
COPY READ_ME.1ST C:\BESTHES/v
COPY REINSTAL.BAT C:\BESTHES/v
COPY INSTALL.DOC C:\BESTHES/v
COPY REGISTER.DOC C:\BESTHES/v
COPY BESTHES.DOC C:\BESTHES/v
COPY FILE_ID.DIZ C:\BESTHES/v
COPY OMBUDSMA.TXT C:\BESTHES/v
COPY LICENSE.TXT C:\BESTHES/v
COPY VENDOR.TXT C:\BESTHES/v
COPY BESTHES.WND C:\BESTHES/v
COPY BW.BAT C:\BESTHES/v
COPY BESTHES.COM C:\BESTHES/v
COPY BESTHES.CDF C:\BESTHES/v
COPY BESTHES.DIC C:\BESTHES/v
COPY BONUS.TXT C:\BESTHES/v
:END
@ECHO OFF
IF "%1" == "" GOTO DRIVEC
%1:\BESTHES\BESTHES
GOTO DELET
:DRIVEC
C:\BESTHES\BESTHES
:DELET
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
ECHO ░░ ░░
ECHO ░░ If you want to delete BESTHES' from their ░░
ECHO ░░ ░░
ECHO ░░ previous location, press any key; if not, press ^C. ░░
ECHO ░░ ░░
ECHO ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
PAUSE
ECHO ON
DEL READ_ME.1ST
DEL INSTALL.DOC
DEL REGISTER.DOC
DEL BESTHES.DOC
DEL FILE_ID.DIZ
DEL OMBUDSMA.TXT
DEL LICENSE.TXT
DEL VENDOR.TXT
DEL BESTHES.WND
DEL BW.BAT
DEL BESTHES.COM
DEL BESTHES.CDF
DEL BESTHES.DIC
DEL BONUS.TXT
DEL REINSTAL.BAT