LostUser Posted March 10, 2006 Share Posted March 10, 2006 Your friendly noob here.Ok, can someone help me with this?With my limited intellect and knowledge I have been trying to read MSDN and these boards to use the following functions to get the UNC path from a drive letter.Here are the functions from the mpr.dll.WNetGetUniversalNameWNetGetConnectionI have some code but it is small and doesn't work so I won't bother to show it.Here is a link to MSDNs info on these functions. http://windowssdk.msdn.microsoft.com/libra...iversalname.aspI'll take whatever you can give.Thanks Be open minded but not gullible.A hammer sees everything as a nail ... so don't be A tool ... be many tools. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 10, 2006 Developers Share Posted March 10, 2006 DriveMapGet("x:") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LostUser Posted March 13, 2006 Author Share Posted March 13, 2006 DriveMapGet("x:") Hah!That was easy.Believe it or not, I did read the documentation. However, I searched for UNC rather than drive mapping. I am glad it is that easy.I'm still curious as to how the dllcall would be but it's not that important right now.Thanks JdeB Be open minded but not gullible.A hammer sees everything as a nail ... so don't be A tool ... be many tools. Link to comment Share on other sites More sharing options...
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