Shawn W Posted July 4, 2007 Share Posted July 4, 2007 I have a DSL connection created on my desktop and my "network connections". But I can not find a way to call it from command line except double click it. So, is there a way to write a command to connect or disconnect the DSL link? Thanks a lot in advance! Link to comment Share on other sites More sharing options...
someone Posted July 4, 2007 Share Posted July 4, 2007 Are you saying you can double click on the desktop shortcut? If so check out ShellExecute in the help file. That will work for you. While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
Shawn W Posted July 4, 2007 Author Share Posted July 4, 2007 I found it myself! It is Rasdial. c:\>Rasdial /? USAGE: Rasdial entryname [username [password|*]] [/DOMAIN:domain] [/PHONE:phonenumber] [/CALLBACK:callbacknumber] [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX] Thank you anyways! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now