home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0090 - 0099 / ibm0090-0099 / ibm0099.tar / ibm0099 / BPRO1ANX.ZIP / INSTDOS.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-11-12  |  1.5 KB  |  59 lines

  1. echo off
  2. cls
  3. echo     ┌────────────────────────────────────────────────┐
  4. echo     │                    INSTALL                     │
  5. echo     │       Band-in-a-Box for Windows                │
  6. echo     │       Copyright (c) 1992 by PG Music Inc.      │
  7. echo     └────────────────────────────────────────────────┘
  8. echo  
  9. echo    If you have Windows 3.1, you should exit this install 
  10. echo    by typing Ctrl-C and then type INSTALL from Windows.
  11. echo  
  12. if %1x==x goto ParmErr
  13. if %2x==x goto ParmErr
  14. echo  
  15. echo   Ready to install Band-in-a-Box Windows from %1 to %2
  16. echo  
  17. echo   Press any key to continue ... (Ctrl-C to stop)
  18. pause > nul
  19. md %2 > nul
  20. cd %2
  21. cd %1
  22.  
  23. dunpack %1\BBW.HL$ %2\BBW.HLP
  24. dunpack %1\BBW.ex$ %2\BBW.EXE
  25. dunpack %1\BBWDLL2.DL$ %2\BBWDLL2.DLL
  26. dunpack %1\CPALETTE.DL$   %2\CPALETTE.DLL
  27. copy %1\*.dk %2
  28.  
  29. goto Success
  30. :ParmErr
  31. echo   Install %1 %2 %3 %4 %5
  32. echo  
  33. echo   In order to install the program , you need
  34. echo    to specify the source and destination to
  35. echo    install the program from and to.
  36. echo  
  37. echo   Usage:  INSTDOS SRC: DEST:
  38. echo  
  39. echo   For example  INSTDOS A: C:\BB
  40. echo  
  41. goto Fail
  42. echo  
  43. :Fail
  44. echo   Please retype as above, adding the source and destination
  45. echo   subdirectories. The source is the name of the floppy
  46. echo   drive that you're installing from .We suggest C:\BB
  47. echo   as the destination subdirectory.
  48. goto End
  49. :Success
  50. rem cls
  51. copy readdos.txt con
  52. cd %2
  53. echo   INSTALL successful
  54. echo   Enjoy your Band-in-a-Box for Windows!
  55. echo  
  56. echo  
  57. :End
  58. echo  
  59.