I try to make a dial-up connection programatically. I tried with RASdial.exe and RASPhone.exe, Both does the same except RasDial.exe display the errors in console where as RasPhone.exe gives in user Interface.
Can Someone explain me the difference between Rasdial and Rasphone and also which is right one to make a dial-up connection. And I want the error messages in User Interface and not in console.
Please explain me in detail.
rasphone -d
works differently from manual run vs. batch run. When run from command line manually, it returns the control to the command prompt immediately while the connection happens in the background. When run in a batch, it waits for the connection to connect successfully before returning the control to the batch script. The difference could be misleading to someone testing the command out in preparation for batch scripting. – Analects