Getting path of the mapped folder

Discussion in 'ASP .Net' started by =?Utf-8?B?U3JpZGhhcg==?=, Dec 16, 2005.

  1. 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.
    =?Utf-8?B?U3JpZGhhcg==?=, Dec 16, 2005
    #1
    1. Advertising

  2. 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.
    =?Utf-8?B?RWx0b24gVw==?=, Dec 16, 2005
    #2
    1. Advertising

  3. I need to do that inside ASP.NET. How could I do that?

    "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.
    =?Utf-8?B?U3JpZGhhcg==?=, Dec 16, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RGVhbiBNY0NhcnRlbg==?=

    Retrieving UNC Path of Mapped Drives on Client Machine

    =?Utf-8?B?RGVhbiBNY0NhcnRlbg==?=, Apr 30, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    5,599
    =?Utf-8?B?RGVhbiBNY0NhcnRlbg==?=
    May 20, 2004
  2. Farooq Khan
    Replies:
    0
    Views:
    306
    Farooq Khan
    Jul 27, 2004
  3. AL
    Replies:
    0
    Views:
    684
  4. Coder

    Running On Server's Mapped Path

    Coder, Jul 24, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    304
    Coder
    Jul 24, 2006
  5. dhl365
    Replies:
    0
    Views:
    798
    dhl365
    Sep 18, 2007
Loading...

Share This Page