home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM You need to change "d:" to the drive containing the \ALARMS directory and
- REM "d:\path" to the drive and path containing the SoundBlaster directory.
- IF NOT EXIST d:\ALARMS\%1.VOC IF NOT EXIST d:\ALARMS\%1.WAV GOTO ERROR
- SET SOUND=d:\path
- d:\path\SBFMDRV
- IF EXIST d:\ALARMS\%1.VOC d:\path\VOCUTIL\VPLAY d:\ALARMS\%1.VOC
- IF EXIST d:\ALARMS\%1.WAV d:\path\VOCUTIL\WPLAY d:\ALARMS\%1.WAV
- GOTO EXIT
- :ERROR
- ECHO Cannot find %1.VOC or %1.WAV.
- PAUSE
- :EXIT