Jump to content

Recommended Posts

Posted

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!

Posted

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
Posted

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!

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
×
×
  • Create New...