?
Solved

Dialing from dos prompt  NT4.0

Posted on 2001-08-20
6
Medium Priority
?
254 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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). …

649 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