lgwapnitsky Posted January 26, 2010 Share Posted January 26, 2010 I am trying to disconnect a drive mapped in an AutoIT3 script using DriveMapDel. Unfortunately, this command is hanging the autoit3.exe executable, and the process cannot be killed. Here is an example of a basic script I'm using for testing that exhibits this issue: $destination = "servername" DriveMapAdd("Y:","\\" & $destination & "\share", 0, "username", "password") msgbox(0,"",@error) DriveMapDel("y:") msgbox(0,"",@error) Any help would be greatly appreciated. Thank you, Larry 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