Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

get drive letter from drivemapadd?

$
0
0
Hi,

Im using DriveMapAdd to mount a network folder to a letter and heres my command

DriveMapAdd("*:","\\nas\share")


As im using * I dont know what letter will be used until it's mounted, and when my script is finished I want to use DriveMapDel to unmount it automatically but there is nothing in the documentation for the * when using this command, how can I get it to store the correct value in a variable so I can refer to the correct drive letter later?

Thanks

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>