home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
mmpm2
/
wmdart
/
alarm.bat
next >
Wrap
DOS Batch File
|
1993-06-13
|
476b
|
14 lines
@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