Modem commands from DOS


R

RE

I'm trying to send modem dialing commands from DOS to
trigger a pager. (Modem=USR 56K Fax PCI on COM3, WinXP
Home). I would like to send ATDT 18881234567,,,,124124#
to the modem from a DOS Batch command.

From DOS Prompt:

ECHO ATH1 >COM3 correctly takes the modem off hook and a
dial tone can be heard.

ECHO ATZ > COM3 correctly resets the modem.

But:

ECHO ATDT 12345 >COM3 causes a short crackle from the
modem speaker as if it briefly tries to go off-hook and
immediately hangs up, but doesn't send any dialing tones.

Modem works normally in all Windows Apps, and responds to
ATDT dialing commands using HyperTerminal.....

Any ideas on what I'm doing wrong appreciated!
 
Ad

Advertisements

N

NobodyMan

I'm trying to send modem dialing commands from DOS to
trigger a pager. (Modem=USR 56K Fax PCI on COM3, WinXP
Home). I would like to send ATDT 18881234567,,,,124124#
to the modem from a DOS Batch command.

From DOS Prompt:

ECHO ATH1 >COM3 correctly takes the modem off hook and a
dial tone can be heard.

ECHO ATZ > COM3 correctly resets the modem.

But:

ECHO ATDT 12345 >COM3 causes a short crackle from the
modem speaker as if it briefly tries to go off-hook and
immediately hangs up, but doesn't send any dialing tones.

Modem works normally in all Windows Apps, and responds to
ATDT dialing commands using HyperTerminal.....

Any ideas on what I'm doing wrong appreciated!
This is just a thought, as I've never used and DOS commands to
manipulate my modem, all those years ago when I used one.....

When you are in the Command Line Interface (it's not DOS and it's a
bad idea to think of it that way), you may very well be trying to
directly control the hardware - which XP will shut down.

In hyperterminal, on OS based graphical interface, the OS is
controlling the modem

Please remember that DOS does not exist in any form in XP. Oh,
there's a window that looks like an old DOS box, and many DOS commands
and programs work there, but not all, and it is most certainly NOT
MS-DOS. Don't expect it to work like something it cannot be.
 
Ad

Advertisements

M

Mike Powers

Might try taking the space out after ATDT. Also you might try sending
the modem command line from hyperterm and then see about setting up
batch files within hyperterm to send the command strings you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top