Jump to content
Sign in to follow this  
lgwapnitsky

DriveMapDel hanging

Recommended Posts

lgwapnitsky

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.