Dialing internal modem from windows with XXX.bat file

Mar 15, 2005 3 Replies

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


On our Resources page is a free Windows utility that can be run from the command line or by other methods. It lets you send character strings out a serial port. It is called SENDCOM.EXE

formatting link
Gary Peek Industrologic, Inc.

It's been a few years since I used it but I think you can launch your batch file using the Start command built into Windows.

e.g. Start XXX.bat

"Dave" wrote:

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required