home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / SOUNDUTL / SBD0002.ZIP / VOCMAIL.ZIP / READER.BAT next >
DOS Batch File  |  1990-12-22  |  952b  |  38 lines

  1. @echo off
  2. REM  ***  Voice Mail Player from THE SAOUND BLASTER DIGEST #2
  3. REM  ***  Written by Brad Barclay.
  4. who
  5. if errorlevel 5 goto none
  6. if errorlevel 4 goto user4
  7. if errorlevel 3 goto user3
  8. if errorlevel 2 goto user2
  9. if errorlevel 1 goto user1
  10. goto admin
  11. :user1
  12. if not exist c:\personal\user1\user1.voc goto Nomail
  13. vplay c:\personal\user1\user1.voc
  14. goto bye
  15. :user4
  16. if not exist c:\personal\user4\user4.voc goto Nomail
  17. vplay c:\personal\user4\user4.voc
  18. goto bye
  19. :user3
  20. if not exist c:\personal\user3\user3.voc Nomail
  21. vplay c:\personal\user3\user3.voc
  22. goto bye
  23. :user2
  24. if not exist c:\personal\user2\user2.voc goto Nomail
  25. vplay c:\personal\user2\user2.voc
  26. goto bye
  27. :none
  28. echo Sorry...VoiceMail not available when PC-VAULT is not running!
  29. goto bye
  30. :admin
  31. if not exist c:\personal\admin\admin.voc goto Nomail
  32. vplay c:\personal\admin\admin.voc
  33. goto bye
  34. :Nomail
  35. echo Sorry...you have no VoiceMail to be read!
  36. :bye
  37. pause
  38.