Command Line Network and Dial Up

  • Thread starter Thread starter SJ
  • Start date Start date
S

SJ

I have to change the ISP of several remote users. Can a
dial up connection be created using a batch file.
 
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
 
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>"
 
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
 
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
 
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...
 
Back
Top