On Wed, 6 Aug 2003 12:03:46 -0500, "Inspector"
>Sorry, I'm new to this, so please be kind. I'm trying to create a batch file
>to initialize a modem and dial a phone # captured from a field in a Q&A 5.0
>What DOS command string will get a modem to dial a phone #? Simple
>redirection of output?
>Internal, external, or Winmodem make a difference?
>I'd be grateful for some guidance.
If you have an external serial modem or a full hardware internal
modem, ie one that looks to DOS like a regular COM port, then you can
try the following. I'm assuming that you want to make voice calls
using a regular telephone, but would like your modem to automate the
echo Dialing ...
echo AT L3 M2 DT 12345678; > comx
echo Waiting for answer or busy ...
echo To talk, pick up the handset and then hit any key on PC keyboard
echo Otherwise, to abort on busy, just type any key
pause > nul
echo ATH > comx
Note that L3 and M2 turn on the modem's speaker at max volume. Note,
also, that the comma in the dial string instructs the modem not to
attempt a connection but to return immediately to command mode after
- Franc Zabkar
Please remove one 's' from my address when replying by email.