home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / p / proofek.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-11-11  |  2KB  |  58 lines

  1. @ECHO OFF
  2. ECHO             PC-PROOF HARD DISK INSTALLATION INSTRUCTIONS
  3. ECHO Make a new directory for PC-Proof and switch to it.  Example:
  4. ECHO MKDIR PCPROOF
  5. ECHO CD PCPROOF
  6. ECHO Then type the command A:INSTALL if you are installing from drive A: or
  7. ECHO B:INSTALL B: if you are installing from drive B:.
  8. ECHO You will need 850K bytes free on your hard disk.
  9. ECHO ╔═══════════════════════════════════════════════════════╗
  10. ECHO ║ DID YOU MAKE A SUBDIRECTORY AND MADE IT YOUR DEFAULT? ║
  11. ECHO ╚═══════════════════════════════════════════════════════╝
  12. ECHO Press Control-C to stop installation.
  13. pause
  14. IF exist pc-proof.exe goto ndrive
  15. IF %1. == . goto NDEFDRV
  16. If not exist %1\nul goto NEEDARG
  17. IF not exist %1pc-proof.exe goto NEEDARG
  18. %1pc-proof /e.
  19. IF not exist pcproof.tut goto ERROR
  20. goto COPYDONE
  21. :NDEFDRV
  22. If not exist a:\nul goto NEEDARG
  23. IF not exist a:pc-proof.exe goto NEEDARG
  24. a:pc-proof /e.
  25. IF not exist pcproof.tut goto ERROR
  26. goto COPYDONE
  27. :COPYDONE
  28. If not errorlevel 0 goto ERROR
  29. more < pcproof.doc
  30. ECHO Installation is complete, type PCPROOF to start the program.
  31. goto done
  32. :ndrive
  33. ECHO You cannot install PC-Proof while your default drive is the same as
  34. ECHO the installation drive.  Please switch to the drive and subdirectory
  35. ECHO you want to install PC-Proof to.
  36. ECHO   ╔═════════════════════════════════════════════════════╗
  37. echo   ║  PC-Proof has not been installed, please try again. ║
  38. ECHO   ╚═════════════════════════════════════════════════════╝
  39. goto DONE
  40. :ERROR
  41. echo One or more of the PC-Proof files failed to copy. Check if there is
  42. echo 850K bytes avaliable on your hard disk.  Also check if the drive
  43. echo is not write protected.  Then, restart this installation.
  44. ECHO   ╔═════════════════════════════════════════════════════╗
  45. echo   ║  PC-Proof has not been installed, please try again. ║
  46. ECHO   ╚═════════════════════════════════════════════════════╝
  47. goto DONE
  48. :NEEDARG
  49. ECHO The installation disk was not correctly specified.  If you are not
  50. ECHO installing from drive A:, you need to supply the drive letter to
  51. ECHO the INSTALL command.  If you are installing from drive B:, issue the
  52. ECHO command B:INSTALL B: (Make sure to include B: after INSTALL.)
  53. ECHO   ╔═════════════════════════════════════════════════════╗
  54. echo   ║  PC-Proof has not been installed, please try again. ║
  55. ECHO   ╚═════════════════════════════════════════════════════╝
  56. :done
  57.  
  58.