Jump to content
Sign in to follow this  

Rasdial bug in script

Recommended Posts

Hi all,

first sorry for my bad english.

I use the windows RasDial.exe to make a connection to internet,and to disconnect the connection.

My problem is,after many times it has worked,it does'nt disconnect anymore :)

It is a bug of AutoIt? Or simply a windows bug? I've windows xp (but not updated).

Here is a piece of my script(too long to post)

Run("rasdial /disconnect")
                    $name1 = "name of the connection"
                    $id1 = "internet id"
                    $pass1 = "password of your connection"
                    $comp = "rasdial "  & '"' & $name1 & '" "' & $id1 & '" "' & $pass1 & '"'

Filling your data(password etc..) you can try it(to put in a loop),it will of course work,but after several times it bugs,at least on my pc.Especially the rasdial /disconnect which cannot disconnect.

If someone could tell me my error,thank you much :whistle: .

Share this post

Link to post
Share on other sites

When you need help just start with the "support forum"

I don't think the behavior is related with AutoIt try to add opt("TrayIconDebug",1) to see where your script is waiting.

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...