Modem commands from DOS

Posted: 04-06-2004, 12:16 AM
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!


Modem commands from DOS


Reply With Quote

Responses to "Modem commands from DOS"

NobodyMan
Guest
Posts: n/a
 
Re: Modem commands from DOS
Posted: 04-06-2004, 02:00 AM
On Mon, 5 Apr 2004 17:16:51 -0700, "RE"
<anonymous@discussions.microsoft.com> wrote:
>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.

Reply With Quote
Mike Powers
Guest
Posts: n/a
 
Re: Modem commands from DOS
Posted: 04-06-2004, 12:27 PM
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.

NobodyMan wrote:
> On Mon, 5 Apr 2004 17:16:51 -0700, "RE"
> <anonymous@discussions.microsoft.com> wrote:
>
>
>>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.
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modem does not respond to commands Gary R Windows XP Printers / Scanners / Fax 2 03-11-2007 02:50 PM
Key commands mariadrakis@gmail.com Mac Indesign 0 09-29-2006 06:31 PM
Dos Commands Liz Windows XP Basics 3 03-05-2004 11:47 PM
need commands Matt Windows XP Network & Web 1 09-29-2003 02:56 AM
Dos commands Dee Windows XP 2 08-19-2003 03:47 PM