home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / w / w31sfx.zip / INSTALL.BAT next >
DOS Batch File  |  1992-08-14  |  3KB  |  79 lines

  1. echo off
  2. cls
  3. if () == (%1) goto NO_ARG
  4. if (a:) == (%1) goto FDISK
  5. if (b:) == (%1) goto FDISK
  6. if (A:) == (%1) goto FDISK
  7. if (B:) == (%1) goto FDISK
  8. cls
  9. echo                ┌───────────────────────────────────┐
  10. echo                │** Stereo■FX Windows 3.1 Drivers **│
  11. echo                └───────────────────────────────────┘
  12. echo         ───────────────────────────────────────────────────────────
  13. echo                    ERROR: Invalid drive specified.
  14. echo                      You must use drive A: or B:
  15. echo         ───────────────────────────────────────────────────────────
  16. goto DONE
  17. :NO_ARG
  18. cls
  19. echo                  ┌───────────────────────────────────┐
  20. echo                  │** Stereo■FX Windows 3.1 Drivers **│
  21. echo                  └───────────────────────────────────┘
  22. echo      This batch file needs to know what drive you wish to install
  23. echo         the files on. You must install this to a diskette.
  24. echo                        ─────────────────────────
  25. echo                       │ Usage: INSTALL [drive]: │
  26. echo                        ─────────────────────────
  27. echo                           Example: INSTALL A:
  28. goto DONE
  29. :FDISK
  30. cls
  31. echo                ┌───────────────────────────────────┐
  32. echo                │** Stereo■FX Windows 3.1 Drivers **│
  33. echo                └───────────────────────────────────┘
  34. echo                          ─────────────────
  35. echo             This batch file will conveniently extract this
  36. echo                 diskette to a 360K or 720K floppy.
  37. echo                          ─────────────────
  38. echo             Please ensure that you have a blank/formatted
  39. echo            360K or 720K diskette ready before you continue.
  40. echo                          ─────────────────
  41. echo               Press any key to continue the installation
  42. echo                         or CONTROL-C to abort.
  43. pause >nul
  44. cls
  45. echo                ┌───────────────────────────────────┐
  46. echo                │** Stereo■FX Windows 3.1 Drivers **│
  47. echo                └───────────────────────────────────┘
  48. echo                          ─────────────────
  49. echo Decompressing...
  50. sfx31 /e%1
  51. if ERRORLEVEL == 0 goto OK
  52. goto ERROR
  53. :OK
  54. cls
  55. echo                ┌───────────────────────────────────┐
  56. echo                │** Stereo■FX Windows 3.1 Drivers **│
  57. echo                └───────────────────────────────────┘
  58. echo                          ─────────────────
  59. echo      The Windows 3.1 Stereo■F/X drivers have been successfully
  60. echo      copied to floppy. You must read the READ.ME located on this
  61. echo      disk to correctly install the sound drivers.
  62. echo                          ─────────────────
  63. goto DONE
  64. :ERROR
  65. cls
  66. echo                       ╒══════════════════════╕
  67. echo                       │ Installation failed! │
  68. echo                       ╘══════════════════════╛
  69. echo                           ───────────────
  70. echo           The installation has failed. Reformat the diskette
  71. echo           and try the installation again. If the problem persists
  72. echo           either download the file again, or contact ATI Customer
  73. echo           Support for assistance.
  74. echo                           ───────────────
  75. :DONE
  76. echo  
  77. echo           ATI Customer Support   (416) 756-0711  9am-5:30pm EST
  78. echo 
  79.