Jump to content
Sign in to follow this  

DriveMapDel hanging

Recommended Posts


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")

Any help would be greatly appreciated.

Thank you,


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