"Jerry Spence1" <je**********@somewhere.com> schrieb:
I want to be able to convert:
C:\Program Files\MyApplication
into
\\MyServer\TheShareNameForCDrive\Program Files\MyApplication
Does anyone know how to do this?
Notice that there is not necessarily a one-to-one mapping between local
paths and UNC paths, because there can be multiple shares. You can use
p/invoke on 'WNetEnumResource' to get a list of shares on the server.
<URL:http://groups.google.de/groups?threadm=u7G9U0KzCHA.1768%40TK2MSFTNGP12>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>