Discussion Locked

Dial-up networking from the DOS prompt

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I invoke DUN from the command prompt under 9.x. ? I know rasdail.exe works under NT but what about 9.x ?

5 replies

by dmiles

Create a shortcut to desired connection
Open My Computer,open Dialup Networking,locate the connection,Using right- mouse button drag the connection into C:Windows,when dropped,a menu appears choose create a shortcut,name your shortcut.
To launch the DUN connection from the command prompt
Use Start command,if the shortcut name is My connect and located in C:Windows folder the command is START C:Windows MYCONNECT.LNK

by maxwell edison

To start a Dial-Up Networking connection using a command line, use the following syntax:

rundll rnaui.dll,RnaDial
where is the name of the connection you want to start.

For example, to start a connection named "My Connection," use the following command line:

rundll rnaui.dll,RnaDial My Connection
You can use this command line in an MS-DOS session, or by clicking the Start button, clicking Run, and then typing the line in the Open box.

Notes:
The RnaDial and components of the command line are case sensitive, and the location of spaces and commas is critical.

Although you can start a Dial-Up Networking connection using a command line, you cannot start the Dial-Up Networking Server using a command line.

Regards,

Maxwell

This discussion is closed to new replies.