?
Solved

Dialing from dos prompt  NT4.0

Posted on 2001-08-20
6
Medium Priority
?
250 Views
Last Modified: 2013-12-28
How can i dial-up a telephone number via dos prompt.
OS is NT4.0 workstation.
I can't use rasphonebook,because every time, telephone number is different.
I used commando rasdialer /phone:5678900(a telephon number) but it dosen't work.

does anybody knows a command?
0
Comment
Question by:Farbood Najafi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 4

Expert Comment

by:darrenburke
ID: 6406679
try

"ECHO ATDT5678900 > COMx "

(where x is your modem COM port number)
0
 
LVL 4

Expert Comment

by:anzen
ID: 6464892

Open a command prompt and enter the command

RASDIAL /?

You'll see the help to use the dialer command

Bye
0
 
LVL 1

Author Comment

by:Farbood Najafi
ID: 6535789
Hi darrenburke,
Thank you for your help,
it is interesting but it doesnt work with windows nt4.
do you know something for nt4

thanks
0
Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

 
LVL 4

Expert Comment

by:anzen
ID: 6535819

Enter:

RasDial <PB_Entry> <user_ID> <password>

for example, let's say You need to dial a phonebook
entry (RAS connection) called "MyISP" and logon to
the server with userid=foo and password=bar, You'll
enter the command

rasdial MyISP foo bar

You could check for dial success/failure results by
examining the "dos" errorlevel code; e.g. if You use
a shell script You could have something like:

@echo off
rasdial MyISP foo bar
rem --- error checks
if errorlevel 2 goto err2
if errorlevel 1 goto err1
rem --- all ok - go on
goto done
:err1
rem --- handle here
echo Error 1 ...
goto quit
:err2
rem --- another ...
echo Error 2 ...
goto quit
:done
rem --- do other actions to be performed
rem --- after a successful connection
ping www.altavista.com
:quit
rem --- common exit

just an example, hope it's clear

Bye



0
 
LVL 4

Accepted Solution

by:
anzen earned 300 total points
ID: 6535824

I forgot one thing

to dial a variable number You MUST create a "fake"
phonebook entry, then override the default phone
number using the /PHONE switch in rasdial

in my example above:

rasdial MyISP foo bar /PHONE:123456789

that's all

0
 
LVL 1

Author Comment

by:Farbood Najafi
ID: 6546633
Hello Anzen
Thanks for your answer.

Good luck
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question