clearguy Posted August 15, 2006 Share Posted August 15, 2006 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") sleep(2000) ProcessWaitClose("rasdial.exe") sleep(100) $name1 = "name of the connection" $id1 = "internet id" $pass1 = "password of your connection" $comp = "rasdial " & '"' & $name1 & '" "' & $id1 & '" "' & $pass1 & '"' Run($comp) ProcessWaitClose("rasdial.exe") 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 . I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
jpm Posted August 15, 2006 Share Posted August 15, 2006 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. Link to comment Share on other sites More sharing options...
clearguy Posted August 15, 2006 Author Share Posted August 15, 2006 it's not my scripy that blocks,but just the rasdial /d that does'nt work,after 10minutes or so(before it workd great,no prob). I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français 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