home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 1 / ClassicFond01.iso / strategi / serfcity.zip / SND.BAT < prev    next >
DOS Batch File  |  1994-05-10  |  3KB  |  92 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 .                   1.2     5/10/94 Modified for bluebyte/serfcity
  15. rem --------------------------------------------------------------------------
  16.  
  17. rem Detect card
  18.  
  19. IF "%ULTRADIR%"=="" goto NO_GRAVIS
  20. GOTO GUS_LOAD
  21.  
  22. :GUS_LOAD
  23.  
  24. rem --------------------------------------------------------------------------
  25. rem If loadpats fails it means that the user has an old revision of the Gravis
  26. rem software and will need to contact Gravis for an update to make this work...
  27. rem --------------------------------------------------------------------------
  28.  
  29. loadpats
  30. IF ERRORLEVEL 1 GOTO OLD_REVISION
  31. goto RUN_GRAVIS
  32.  
  33. :OLD_REVISION
  34.  
  35. rem --------------------------------------------------------------------------
  36. rem Set the environmental var to NULL so the sound installer will not "detect"
  37. rem the Gravis
  38. rem --------------------------------------------------------------------------
  39.  
  40. set ULTRASND=
  41.  
  42. cls
  43. echo ╔═════════════════════════════════════════════════════╗
  44. echo ║       Gravis Native Mode Installation Error         ║
  45. echo ╠═════════════════════════════════════════════════════╣
  46. echo ║                                                     ║
  47. echo ║  ERROR: Native Mode is not Supported by Revisions   ║
  48. echo ║         of the Gravis Software Less Then 2.00       ║
  49. echo ║                                                     ║
  50. echo ║         Contact Gravis to Obtain an Update of       ║
  51. echo ║         Their Software...                           ║
  52. echo ║                                                     ║
  53. echo ║          Voice (604) 431-5020                       ║
  54. echo ║          Fax   (604) 431-5155                       ║
  55. echo ║          BBS   (604) 431-5927 V32bis                ║
  56. echo ║                                                     ║
  57. echo ║          Compuserve: GO PCVENB (71333,350)          ║
  58. echo ║          FidoNET: 1:153/978                         ║
  59. echo ║          InterNET EMail: tech@gravis.com            ║
  60. echo ║          SBCNET: 13:900/3                           ║
  61. echo ║                                                     ║
  62. echo ╚═════════════════════════════════════════════════════╝
  63. pause
  64. GOTO NO_GRAVIS
  65.  
  66. :RUN_GRAVIS
  67. cls
  68. sinstall.exe
  69. convert
  70. IF ERRORLEVEL 1 GOTO CONVERTFAIL
  71. cls
  72. goto END
  73.  
  74. :NO_GRAVIS
  75. cls
  76. sinstall.exe
  77. convert
  78. IF ERRORLEVEL 1 GOTO CONVERTFAIL
  79. cls
  80. goto END
  81.  
  82. CONVERTFAIL
  83. cls
  84. echo off
  85. echo The Sound information record converter has failed, this would be caused
  86. echo by insufficient disk space to write the converted record (88 bytes).
  87. goto END
  88.  
  89.  
  90.  
  91. :END
  92.