Jump to content

Run DSL dial up command


Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...