>This may help. It's some code I got from Russell Campbell on the MS newsgroup a few days ago and it finds the UNC from a mapped drive:
>
I'm familar with it already - I wrote it up in the FAQ a while ago. It'll tell you the name of the server, but not what type of server it is. Using the enumeration code from the NETRESOURCE class will enable you to determine the domain membership of a given server once you have a UNC.