Hi Chris,

PInvoking to NetShareGetInfo may be the best option available.

Nick
----- Original Message -----
From: "Chris Abrahamson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 25, 2002 6:17 AM
Subject: [DOTNET] actual network path from mapped drive?


> Hello all,
> I'm a bit stumped here and was looking for some direction. Is there any
> way to get a "full" network path to a file or shared direcory when using a
> mapped network drive?
> ( i.e. the mapped drive(pointing to a share): 'P:\Programs\MyPrograms\' is
> really '\\networkCpuName\Programs\MyPrograms\' )
> I thought that I might be able to derive this network path from a
> DirectoryInfo or FileInfo object, but no such luck.
> Does anyone know how to accomplish this?
>
> Thanks in advance,
> Chris A.
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to