home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / wmdart.zip / ALARM.BAT next >
DOS Batch File  |  1993-06-14  |  476b  |  14 lines

  1. @ECHO OFF
  2. REM You need to change "d:" to the drive containing the \ALARMS directory and
  3. REM "d:\path" to the drive and path containing the SoundBlaster directory.
  4. IF NOT EXIST d:\ALARMS\%1.VOC IF NOT EXIST d:\ALARMS\%1.WAV GOTO ERROR
  5. SET SOUND=d:\path
  6. d:\path\SBFMDRV
  7. IF EXIST d:\ALARMS\%1.VOC d:\path\VOCUTIL\VPLAY d:\ALARMS\%1.VOC
  8. IF EXIST d:\ALARMS\%1.WAV d:\path\VOCUTIL\WPLAY d:\ALARMS\%1.WAV
  9. GOTO EXIT
  10. :ERROR
  11. ECHO Cannot find %1.VOC or %1.WAV.
  12. PAUSE
  13. :EXIT
  14.