home *** CD-ROM | disk | FTP | other *** search
/ Sound, Music & MIDI Collection 2 / SMMVOL2.bin / DEMO / PRG / BNDNBOX.ZIP / INSTDOS.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-05-27  |  1.4 KB  |  55 lines

  1. echo off
  2. cls
  3. echo     ┌────────────────────────────────────────────────┐
  4. echo     │                    INSTALL                     │
  5. echo     │       Band-in-a-Box for Windows                │
  6. echo     │       Copyright (c) 1993 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\*.??$ %2\
  24.  
  25. goto Success
  26. :ParmErr
  27. echo   Install %1 %2 %3 %4 %5
  28. echo  
  29. echo   In order to install the program , you need
  30. echo    to specify the source and destination to
  31. echo    install the program from and to.
  32. echo  
  33. echo   Usage:  INSTDOS SRC: DEST:
  34. echo  
  35. echo   For example  INSTDOS A: C:\BB
  36. echo  
  37. goto Fail
  38. echo  
  39. :Fail
  40. echo   Please retype as above, adding the source and destination
  41. echo   subdirectories. The source is the name of the floppy
  42. echo   drive that you're installing from .We suggest C:\BB
  43. echo   as the destination subdirectory.
  44. goto End
  45. :Success
  46. rem cls
  47. copy readme.txt con
  48. cd %2
  49. echo   INSTALL successful
  50. echo   Enjoy your Band-in-a-Box for Windows!
  51. echo  
  52. echo  
  53. :End
  54. echo  
  55.