Command Line Network and Dial Up

S

SJ

I have to change the ISP of several remote users. Can a
dial up connection be created using a batch file.
 
H

Herb Martin

Is rasdial still around? That was the tool we used to use....

Yes, try rasdial /?
 
R

Ray at

It's in the Reskit, but I don't see anything about creating entries.

USAGE:
rasdial entryname [username [password|*]] [/DOMAIN:domain]
[/PHONE:phonenumber] [/CALLBACK:callbacknumber]
[/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]

rasdial [entryname] /DISCONNECT

rasdial

There's also rasphone /?

Ray at work
 
N

Ndi

Part of dial.bat here:

Start "" /b "%windir%\system32\rasphone.exe" -f
"%allusersprofile%\Application
Data\Microsoft\Network\Connections\Pbk\rasphone.pbk" -d "%*"

I just "dial <connectionname>"
 
H

Herb Martin

In Win2003 its now in System32 (rasdial.exe).

To add entries in Win2000+ you might try NetSh.exe

--
Herb Martin
Ray at said:
It's in the Reskit, but I don't see anything about creating entries.

USAGE:
rasdial entryname [username [password|*]] [/DOMAIN:domain]
[/PHONE:phonenumber] [/CALLBACK:callbacknumber]
[/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]

rasdial [entryname] /DISCONNECT

rasdial

There's also rasphone /?

Ray at work
 
D

David Trimboli

Actually, I think it's built into Windows 2000, in System32. At least,
that's what I'm seeing on some of my computers, that never had any Reskit or
Support Tools installed.

David
Stardate 3821.3

Ray at said:
It's in the Reskit, but I don't see anything about creating entries.

USAGE:
rasdial entryname [username [password|*]] [/DOMAIN:domain]
[/PHONE:phonenumber] [/CALLBACK:callbacknumber]
[/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]

rasdial [entryname] /DISCONNECT

rasdial

There's also rasphone /?

Ray at work
 
T

Torgeir Bakken (MVP)

David said:
Actually, I think it's built into Windows 2000, in System32. At least,
that's what I'm seeing on some of my computers, that never had any Reskit or
Support Tools installed.

Hi

That is correct, rasdial.exe comes default installed on all Win2k/WinXP
installations...
 

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