[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Dialing internal modem from windows with XXX.bat file



On 15 Mar 2005 10:01:00 -0800, "Dave" <cheapscatedave@xxxxxxxxx>
wrote:

>Hi all,
>Is it possible to have my modem dial a phone number from a BAT file. My
>previous program under DOS would do it if I created a BAT file
>containing "echo >comxATD1234567" and called this BAT file from the
>program.
>"echo >comxATD1234567" will work if it is entered in a MSDOS window but
>I need to have the program do it when a specific event triggers it.
>
>Thanks in advance for any advice,
>Dave
>

I use the below format in a batch file on winXP to send bytes to
the serial port. Never tried it with a modem.

@echo off
mode com1:9600,N,8,1 >nul
echo ATD1234567 >com1


comp.home.automation Main Index | comp.home.automation Thread Index | comp.home.automation Home | Archives Home