home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega A/V
/
mega_av.zip
/
mega_av
/
SOUNDUTL
/
SBD0002.ZIP
/
VOCMAIL.ZIP
/
READER.BAT
next >
Wrap
DOS Batch File
|
1990-12-22
|
952b
|
38 lines
@echo off
REM *** Voice Mail Player from THE SAOUND BLASTER DIGEST #2
REM *** Written by Brad Barclay.
who
if errorlevel 5 goto none
if errorlevel 4 goto user4
if errorlevel 3 goto user3
if errorlevel 2 goto user2
if errorlevel 1 goto user1
goto admin
:user1
if not exist c:\personal\user1\user1.voc goto Nomail
vplay c:\personal\user1\user1.voc
goto bye
:user4
if not exist c:\personal\user4\user4.voc goto Nomail
vplay c:\personal\user4\user4.voc
goto bye
:user3
if not exist c:\personal\user3\user3.voc Nomail
vplay c:\personal\user3\user3.voc
goto bye
:user2
if not exist c:\personal\user2\user2.voc goto Nomail
vplay c:\personal\user2\user2.voc
goto bye
:none
echo Sorry...VoiceMail not available when PC-VAULT is not running!
goto bye
:admin
if not exist c:\personal\admin\admin.voc goto Nomail
vplay c:\personal\admin\admin.voc
goto bye
:Nomail
echo Sorry...you have no VoiceMail to be read!
:bye
pause