home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / portfoli / dial / remote.bat < prev    next >
DOS Batch File  |  1991-12-30  |  1KB  |  30 lines

  1.      echo off
  2. :Variables are: %1=PORT, %2=SPEED, %3=PHONE #, %4=PHONE #, %5=PHONE #.
  3. :
  4. :************************* Screen Message *************************************
  5. :
  6.      cls
  7.      echo Automatic dialer for XTERM      
  8.      echo¯¯¯
  9.      echo Dialing Number.  Please wait . . .
  10.      echo¯¯¯
  11.      echo¯¯¯
  12.      echo¯¯¯
  13. :************************* Dial Modem *****************************************
  14. :Use DTR program to turn DTR ON.
  15.      DTR  %1: OFF                        >nul
  16. :Use the DOS MODE command to set com port to correct speed.
  17.      MODE %1: %2,N,8,1                   >nul
  18.      DTR  %1: ON                         >nul
  19.      wait 2
  20. :Use AT program to send string to modem.
  21.      AT   %1: &F
  22.      wait 2
  23.      AT   %1: V0 X1 L &D3 DT%3,%4,%5 >nul
  24. :Use WAIT program to wait 20 seconds to give modems a chance to connect.
  25.      WAIT 20
  26. :Load term.  Term is configurable using ARCONFIG.
  27.      ECHO¯¯¯                                                           =
  28.      ECHO¯¯¯
  29.      term
  30. ə