home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / busi / wampum.zip / INSTALL.BAT next >
DOS Batch File  |  1989-11-25  |  1KB  |  46 lines

  1. ECHO OFF
  2. CLS
  3. IF %1K == K GOTO ERRMSG
  4. IF %1 == B: GOTO READY
  5. IF %1 == b: GOTO READY
  6. IF %1 == C: GOTO READY
  7. IF %1 == c: GOTO READY
  8. IF %1 == D: GOTO READY
  9. IF %1 == d: GOTO READY
  10. IF %1 == E: GOTO READY
  11. IF %1 == e: GOTO READY
  12. IF %1 == F: GOTO READY
  13. IF %1 == f: GOTO READY
  14. IF %1 == G: GOTO READY
  15. IF %1 == g: GOTO READY
  16. IF %1 == H: GOTO READY
  17. IF %1 == h: GOTO READY
  18. GOTO ERRMSG
  19. :READY
  20. ECHO WAMPUM Installation Procedure for Drive %1
  21. ECHO Installation involves decompressing two sets of files.
  22. ECHO The first set is the program files.
  23. ECHO The second set is the documentation.
  24. ECHO There are opening screens for each file.
  25. ECHO Type Y for each when asked whether to proceed.
  26. PAUSE
  27. %1
  28. A:WAMPUM40 /x
  29. if %1 == B: GOTO FLOPINST
  30. if %1 == b: GOTO FLOPINST
  31. goto HARDINST
  32. :FLOPINST
  33. CLS
  34. ECHO Insert another formatted floppy in Drive B.
  35. PAUSE
  36. :HARDINST
  37. A:WAMPDOC /x
  38. CLS
  39. echo Installation completed.
  40. echo To print documentation, turn on your printer & type %1\WAMPUM\PRINTDOC
  41. goto alldone
  42. :ERRMSG
  43. ECHO Syntax for install is A:INSTALL C:   (where C: is drive for install)
  44. ECHO Try again.
  45. :ALLDONE
  46.