home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / wmdart.zip / ALARM.CMD < prev    next >
OS/2 REXX Batch file  |  1993-06-14  |  462b  |  20 lines

  1. /* REXX */
  2. /* You need to change "d:" to the disk containing the \ALARMS directory */
  3. Arg Name Rest
  4. '@echo off'
  5. if Name = '' then do
  6.     say 'The name of the audio file is missing.  Enter'
  7.     say '    ALARM.CMD name'
  8.     say 'where "name" is the name of the audio file.'
  9.     pause
  10.     signal done
  11. end
  12. else do
  13.     'd:\alarms\alarm.bat' Name
  14. end
  15. if Rest \= '' then do
  16.     say 'Extraneous parameters "'Rest'" ignored.'
  17.     pause
  18. end
  19. done: exit
  20.