Jump to content

Recommended Posts

Posted

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

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...