home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 1 / ClassicFond01.iso / role-pla / ravenlof.zip / SOUND.BAT < prev    next >
DOS Batch File  |  1994-04-03  |  3KB  |  77 lines

  1. @echo off
  2. rem --------------------------------------------------------------------------
  3. rem .   sound.bat
  4. rem .
  5. rem .   This is a batch file to load the Gravis Ultrasound in Native mode.
  6. rem .   And run the sound installer...
  7. rem .
  8. rem .   Author:         Ralph Thomas
  9. rem .
  10. rem .   Revision:       1.0     1/24/94
  11. rem .                   1.1     2/7/94  Fixed to accomodate the loadpats
  12. rem .                                   program detecting the GUS software
  13. rem .                                   revision...
  14. rem --------------------------------------------------------------------------
  15.  
  16. rem Detect card
  17.  
  18. IF "%ULTRADIR%"=="" goto NO_GRAVIS
  19. GOTO GUS_LOAD
  20.  
  21. :GUS_LOAD
  22.  
  23. rem --------------------------------------------------------------------------
  24. rem If loadpats fails it means that the user has an old revision of the Gravis
  25. rem software and will need to contact Gravis for an update to make this work...
  26. rem --------------------------------------------------------------------------
  27.  
  28. IF ERRORLEVEL 1 GOTO OLD_REVISION
  29. goto RUN_GRAVIS
  30.  
  31. :OLD_REVISION
  32.  
  33. rem --------------------------------------------------------------------------
  34. rem Set the environmental var to NULL so the sound installer will not "detect"
  35. rem the Gravis
  36. rem --------------------------------------------------------------------------
  37.  
  38. set ULTRASND=
  39.  
  40. cls
  41. echo ╔═════════════════════════════════════════════════════╗
  42. echo ║       Gravis Native Mode Installation Error         ║
  43. echo ╠═════════════════════════════════════════════════════╣
  44. echo ║                                                     ║
  45. echo ║  ERROR: Native Mode is not Supported by Revisions   ║
  46. echo ║         of the Gravis Software Less Then 2.00       ║
  47. echo ║                                                     ║
  48. echo ║         Contact Gravis to Obtain an Update of       ║
  49. echo ║         Their Software...                           ║
  50. echo ║                                                     ║
  51. echo ║          Voice (604) 431-5020                       ║
  52. echo ║          Fax   (604) 431-5155                       ║
  53. echo ║          BBS   (604) 431-5927 V32bis                ║
  54. echo ║                                                     ║
  55. echo ║          Compuserve: GO PCVENB (71333,350)          ║
  56. echo ║          FidoNET: 1:153/978                         ║
  57. echo ║          InterNET EMail: tech@gravis.com            ║
  58. echo ║          SBCNET: 13:900/3                           ║
  59. echo ║                                                     ║
  60. echo ╚═════════════════════════════════════════════════════╝
  61. pause
  62. GOTO NO_GRAVIS
  63.  
  64. :RUN_GRAVIS
  65. cls
  66. sinstall.exe
  67. cls
  68. goto END
  69.  
  70. :NO_GRAVIS
  71. cls
  72. sinstall.exe
  73. cls
  74. goto END
  75.  
  76. :END
  77.