home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / DB / DB028.ZIP / INSTALL.BAT next >
DOS Batch File  |  1991-10-02  |  2KB  |  47 lines

  1. echo off
  2. cls
  3. if "%1" == ""   goto err1
  4. if "%2" == ""   goto err1
  5. if "%1" == "%2" goto err1
  6. %2
  7. cd \
  8. md \PB
  9. cd PB
  10. %1
  11. cd \PB
  12. PBMS %2\PB
  13. cd \
  14. prompt=$p$g
  15. %2
  16. prompt=$p$g
  17. cls
  18. echo You are now in the %2\PB subdirectory.
  19. echo Enter this command to start the program: PB
  20.  
  21. echo ..........................................................
  22. echo To print PB.DOC enter:
  23. echo Enter.................  "TYPE PB.DOC > PRN"  (Without the quotes)
  24. goto end
  25. :err1
  26. cls
  27. echo You entered the wrong command to install PlusBar
  28. echo        ╔══════════════════════════════════════════════════════════╗
  29. echo        ║ To Install, log on to the drive containing               ║
  30. echo        ║ the Program diskette and type:  INSTALL from: to:        ║
  31. echo        ║                                                          ║
  32. echo        ║      "from:" is the floppy drive letter of the           ║
  33. echo        ║              PlusBar Disk                                ║
  34. echo        ║      "to:"   is the drive letter where PlusBar will be   ║
  35. echo        ║              installed.                                  ║
  36. echo        ║                                                          ║
  37. echo        ║ Copyright 1991 By Cedric Fairweather and Frank James     ║
  38. echo        ║                                                          ║
  39. echo        ║ For example, INSTALL A: C:                               ║
  40. echo        ╚══════════════════════════════════════════════════════════╝
  41. echo 
  42.  
  43. goto end
  44.  
  45. :end
  46. echo on
  47.