echo off :Variables are: %1=PORT, %2=SPEED, %3=PHONE #, %4=PHONE #, %5=PHONE #. : :************************* Screen Message ************************************* : cls echo Automatic dialer for XTERM echo˙˙˙ echo Dialing Number. Please wait . . . echo˙˙˙ echo˙˙˙ echo˙˙˙ :************************* Dial Modem ***************************************** :Use DTR program to turn DTR ON. DTR %1: OFF >nul :Use the DOS MODE command to set com port to correct speed. MODE %1: %2,N,8,1 >nul DTR %1: ON >nul wait 2 :Use AT program to send string to modem. AT %1: &F wait 2 AT %1: V0 X1 L &D3 DT%3,%4,%5 >nul :Use WAIT program to wait 20 seconds to give modems a chance to connect. WAIT 20 :Load term. Term is configurable using ARCONFIG. ECHO˙˙˙ = ECHO˙˙˙ term