home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
comm
/
vmg30.zip
/
VM.DAT
/
MB.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-04
|
1KB
|
83 lines
@echo off
connect %1
if errorlevel 150 goto strange
if errorlevel 130 goto fax
if errorlevel 120 goto nocarrier
if errorlevel 90 goto c19200
if errorlevel 80 goto c16800
if errorlevel 70 goto c14400
if errorlevel 60 goto c12000
if errorlevel 50 goto c9600
if errorlevel 40 goto c7200
if errorlevel 30 goto c4800
if errorlevel 20 goto c2400
if errorlevel 10 goto noresponse
goto end
:strange
echo strange response
goto end
:fax
e:\zyxel\zfax\rcvfax 1 /p:%2 /r:0 /w:e:\anruf\fax
goto end
:nocarrier
echo no carrier
goto end
:c19200
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B19200
goto end
:c16800
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B16800
goto end
:c14400
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B14400
goto end
:c12000
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B12000
goto end
:c9600
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B9600
goto end
:c7200
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B7200
goto end
:c4800
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B4800
goto end
:c2400
AT %1 "Bitte warten..."
cd \ra
ra -C%1 -B2400
goto end
:noresponse
echo no response
:end