This is actually not a question, but a follow-up on an earlier question someone posted: "How can I open a Dial
Up Network Connection in the command line prompt?" This question posed on 30 April 2001
John Robbins suggested writing a short program to do it. I would like to point out that there are actually two obscure ways to do this.
1. You can directly call the phonebook entry for the DUN connection, using the following command line-
%Systemroot%System32Rasphone -d >phonebook entry name>
2. The easier way, a "cheat" since you have to do one thing to prep it once, is to create a shortcut to the DUN connection. Rename it something short with no spaces in the name or path. I call it my shortcut to my regular dialup link "ISP." You can just type "start isp" (or have it in a batch file). If you have Windows set to automatically connect with the password cached, it will do the connection for you with no problem.Both are pretty obscure but workable.
Thanks a million, Alex! I didn't realize RASPHONE.EXE existed. Your solutions are both very clean and answer the question much better. Thanks for taking the time to help us all out.
Dig deeper on Windows Operating System Management
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.