Solved

Dialing from dos prompt  NT4.0

Posted on 2001-08-20
6
211 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:fnajafi
  • 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:fnajafi
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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 100 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:fnajafi
ID: 6546633
Hello Anzen
Thanks for your answer.

Good luck
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now