home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 11
/
CD_ASCQ_11_0294.iso
/
maj
/
2095
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-06-19
|
4KB
|
95 lines
@ECHO OFF
ECHO PC-Proof hard disk installation
ECHO PC-PROOF HARD DISK INSTALLATION INSTRUCTIONS
ECHO Make a new directory for PC-Proof and switch to it. Example:
ECHO MKDIR PCPROOF
ECHO CD PCPROOF
ECHO Then type the command A:INSTALL if you are installing from drive A: or
ECHO B:INSTALL B: if you are installing from drive B:.
ECHO You will need 900K bytes free on your hard disk.
ECHO ╔═══════════════════════════════════════════════════════╗
ECHO ║ DID YOU MAKE A SUBDIRECTORY AND MADE IT YOUR DEFAULT? ║
ECHO ╚═══════════════════════════════════════════════════════╝
ECHO Press Control-C to stop installation.
pause
IF exist pc-proof.exe goto ndrive
IF exist pcproof1.exe goto ndrive
IF exist pcproof2.exe goto ndrive
IF %1. == . goto NDEFDRV
If not exist %1\nul goto NEEDARG
If exist %1pcproof1.exe goto 1OF2
IF exist %1pcproof2.exe goto 2OF2
IF not exist %1pc-proof.exe goto NEEDARG
%1pc-proof /e.
IF not exist pcproof.tut goto ERROR
goto COPYDONE
:1OF2
IF not exist %1pcproof1.exe goto NEEDARG
%1pcproof1 /e.
IF not exist pcproof.tut goto ERROR
IF exist %1pcproof2.exe goto 2OF2
goto NEXTDISK
:2OF2
IF not exist %1pcproof2.exe goto NEEDARG
%1pcproof2 /e.
IF not exist pcproof.dic goto ERROR
goto COPYDONE
:NDEFDRV
If not exist a:\nul goto NEEDARG
If exist a:pcproof1.exe goto N1OF2
IF exist a:pcproof2.exe goto N2OF2
IF not exist a:pc-proof.exe goto NEEDARG
a:pc-proof /e.
IF not exist pcproof.tut goto ERROR
IF exist a:pcproof2.exe goto N2OF2
goto COPYDONE
:N1OF2
IF not exist a:pcproof1.exe goto NEEDARG
a:pcproof1 /e.
IF not exist pcproof.tut goto ERROR
goto NEXTDISK
:N2OF2
IF not exist a:pcproof2.exe goto NEEDARG
a:pcproof2 /e.
IF not exist pcproof.dic goto ERROR
IF not exist pcproof.tut goto ERROR
:COPYDONE
If not errorlevel 0 goto ERROR
more < pcproof.doc
ECHO Installation is complete, type PCPROOF to start the program.
goto done
:ndrive
ECHO You cannot install PC-Proof while your default drive is the same as
ECHO the installation drive. Please switch to the drive and subdirectory
ECHO you want to install PC-Proof to.
ECHO ╔═════════════════════════════════════════════════════╗
echo ║ PC-Proof has not been installed, please try again. ║
ECHO ╚═════════════════════════════════════════════════════╝
goto DONE
:ERROR
echo One or more of the PC-Proof files failed to copy. Check if there is
echo 900K bytes avaliable on your hard disk. Also check if the drive
echo is not write protected. Then, restart this installation.
ECHO ╔═════════════════════════════════════════════════════╗
echo ║ PC-Proof has not been installed, please try again. ║
ECHO ╚═════════════════════════════════════════════════════╝
goto DONE
:NEXTDISK
If not errorlevel 0 goto ERROR
ECHO Installation of disk 1 is complete.
ECHO ╔════════════════════════════════════════╗
ECHO ║ Insert PC-Proof disk 2 and repeat the ║
ECHO ║ same installation procedure as disk 1.║
ECHO ╚════════════════════════════════════════╝
goto DONE
:NEEDARG
ECHO The installation disk was not correctly specified. If you are not
ECHO installing from drive A:, you need to supply the drive letter to
ECHO the INSTALL command. If you are installing from drive B:, issue the
ECHO command B:INSTALL B: (Make sure to include B: after INSTALL.)
ECHO ╔═════════════════════════════════════════════════════╗
echo ║ PC-Proof has not been installed, please try again. ║
ECHO ╚═════════════════════════════════════════════════════╝
:done