ronvp
asked on
Mapped drive to UNC
I like to have a routine that let me convert a mapped network drive to its UNC name
i.e.: S:\public\userdir to \\domain\Servername\public \userdir. There is a function (WNETGETUNIVERSALNAME) with windows, but this function is not supported on Win-95
i.e.: S:\public\userdir to \\domain\Servername\public
WNetGetConnection should be the right API for you.
Regards, Madshi.
Regards, Madshi.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This will teach me to check out the Delphi help files better.. Excellent answer..
Maybe the ScUNCFromLocalPath function will work on Windows9x platforms. Search on www.msdn.microsoft.com for more information about this function.
Regards,
Paul