BoskoBuha Posted August 4, 2009 Posted August 4, 2009 I was wondering if there is a way to tell what device/drive was used to map a share when DriveMapAdd ( "*", "\\someserver\someshare") is used?
JSThePatriot Posted August 4, 2009 Posted August 4, 2009 I found this in the helpfile under DriveMapAdd(). I hope it helps.Note: When using "*" for the device parameter the drive letter selected will be returned instead of 1 or 0, e.g. "U:". If there was an error using "*" then a blank string "" will be returned.Thanks,Jarvis AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
BoskoBuha Posted August 4, 2009 Author Posted August 4, 2009 (edited) I found this in the helpfile under DriveMapAdd(). I hope it helps.Jarvis, thanks!I really missed that note. I only checked parameters table and return value section. It's exactly what I was looking for and was wondering, why it hasn't been implemented.... >_< Cheers,Bostjan Edited August 4, 2009 by BoskoBuha
JSThePatriot Posted August 4, 2009 Posted August 4, 2009 No problem. I figured it was something that was missed. I had to go to the help file to read myself as I thought that would be expected, but I didn't know. I'm glad I could help, Jarvis AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
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