dos and modem commands in windows XP?

M

Minsik

Hi there. (If there is a dos forum or newsgroups please point me in
that direction. Thank you.)

I am from an old school but have forgotten too many things!

I want to be able to make my pci internal modem (com3) dial a phone
number and remain connected when i close the dos window then open a
program that will talk directly to com3.

Closest i can come is "echo atdt >com3"
When i tried "echo adt0,12345 > com3" still no dial tone or off hook
operation just a click. This make the modem do a click and not go off
hook and get dialltone as I used to get in dos (as far as i can
remember).

I have a program that will remote collect data from a device that is
connected to a com port. Both com 1 (physical on the back of the pc)
and com3 are listed but as soon as i open hyper terminal and use it
to connect to the remote site it take hold of the com3 line. Then the
data collecting program complains that com3 is in use and closes..

Any ways around this other than my plan b. That is to get an old modem
with parallels phone. dial with the parallel phone. make the modem go
off hook, then run the data collection program.

Plan c, drive 120km to the remote site. Connect laptop to data device,
come back in 1 week time to collect the lap[top with data....

At this point i can dial in with hyper terminal and issue text
commands to get data but it is all manual.

Thanks for any suggestions.

Ps i am not sure if the data collection program will run in win98 or
anything lower. I suspect is a visual basic program.


minsik.



i have hooked up to a modem at a remote site.
 
J

Jim Macklin

XP does not have any DOS, it is based on NT rather than DOS.
Some DOS commands appear to be present but they often work a
little differently. Also, XP does not allow direct hardware
access the way DOS did.

You should see if your desired program will run in Windows
(XP) and dial the modem. You might need an updated program
for your task.


--
The people think the Constitution protects their rights;
But government sees it as an obstacle to be overcome.


| Hi there. (If there is a dos forum or newsgroups please
point me in
| that direction. Thank you.)
|
| I am from an old school but have forgotten too many
things!
|
| I want to be able to make my pci internal modem (com3)
dial a phone
| number and remain connected when i close the dos window
then open a
| program that will talk directly to com3.
|
| Closest i can come is "echo atdt >com3"
| When i tried "echo adt0,12345 > com3" still no dial tone
or off hook
| operation just a click. This make the modem do a click and
not go off
| hook and get dialltone as I used to get in dos (as far as
i can
| remember).
|
| I have a program that will remote collect data from a
device that is
| connected to a com port. Both com 1 (physical on the back
of the pc)
| and com3 are listed but as soon as i open hyper
terminal and use it
| to connect to the remote site it take hold of the com3
line. Then the
| data collecting program complains that com3 is in use and
closes..
|
| Any ways around this other than my plan b. That is to get
an old modem
| with parallels phone. dial with the parallel phone. make
the modem go
| off hook, then run the data collection program.
|
| Plan c, drive 120km to the remote site. Connect laptop to
data device,
| come back in 1 week time to collect the lap[top with
data....
|
| At this point i can dial in with hyper terminal and issue
text
| commands to get data but it is all manual.
|
| Thanks for any suggestions.
|
| Ps i am not sure if the data collection program will run
in win98 or
| anything lower. I suspect is a visual basic program.
|
|
| minsik.
|
|
|
| i have hooked up to a modem at a remote site.
 
F

froggy

|
| Plan c, drive 120km to the remote site. Connect laptop to
data device,
| come back in 1 week time to collect the lap[top with
data....

why dont you use your normal house-phone for phone calls and
your computer for computing.
why complicate things, unless you are a fidget widget type of person.

croak
 
G

GTS

I think I understand what you're trying to do. I take it this data
collection program is really intended for a direct serial connection to the
device? Your Plan B option is probably the best possibility if you can, in
fact, get the modem off hook after dialing.

The NT line of Windows generally doesn't permit direct access to hardware
as DOS did. Additionally, your internal modem is probably a WinModem and
would not be addressable from a command prompt. I think the click you here
from the ATDT command is due to the fact that the command does open the COM
port (which the modem detects), but cannot actually communicate data.

Your best bet might be to use a Windows telecommunications program with
scripting capability (like ProComm) to dial, connect, issue the automated
commands from a script, and save the responses to a file.
 

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