|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Getting path of the mapped folderHi,
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. 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. 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. |
|||||||||||||||||||||||