Home All Groups Group Topic Archive Search About

Getting path of the mapped folder

Author
16 Dec 2005 3:16 PM
Sridhar
Hi,

  I have a question. I am trying to write File Functions to read data from a
file. This function accepts FilePath as the parameter and returns Byte()
Array. Some times if the file is on the Network and let's say the Network
folder '\\SomeMachine\SomeFolder' is mapped to some drive like 'Z:\' then how
do I get the real path '\\SomeMachine\SomeFolder' instead of 'Z:\' ?

Thanks,
Sridhar.

Author
16 Dec 2005 7:04 PM
Elton W
Open Windows explorer.
Menu Tools -> Map Network Driver…
Click Drive Dropdown list. It shows all mapped drivers. 

HTH

Elton Wang

Show quote
"Sridhar" wrote:

> Hi,
>
>   I have a question. I am trying to write File Functions to read data from a
> file. This function accepts FilePath as the parameter and returns Byte()
> Array. Some times if the file is on the Network and let's say the Network
> folder '\\SomeMachine\SomeFolder' is mapped to some drive like 'Z:\' then how
> do I get the real path '\\SomeMachine\SomeFolder' instead of 'Z:\' ?
>
> Thanks,
> Sridhar.
Author
16 Dec 2005 7:21 PM
Sridhar
I need to do that inside ASP.NET. How could I do that?

Show quote
"Elton W" wrote:

> Open Windows explorer.
> Menu Tools -> Map Network Driver…
> Click Drive Dropdown list. It shows all mapped drivers. 
>
> HTH
>
> Elton Wang
>
> "Sridhar" wrote:
>
> > Hi,
> >
> >   I have a question. I am trying to write File Functions to read data from a
> > file. This function accepts FilePath as the parameter and returns Byte()
> > Array. Some times if the file is on the Network and let's say the Network
> > folder '\\SomeMachine\SomeFolder' is mapped to some drive like 'Z:\' then how
> > do I get the real path '\\SomeMachine\SomeFolder' instead of 'Z:\' ?
> >
> > Thanks,
> > Sridhar.

AddThis Social Bookmark Button