Results 1 to 3 of 3

Thread: how to get root path of directory from a network system

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2002
    Location
    fgh
    Posts
    332

    how to get root path of directory from a network system

    Hi techs,

    I have a path of directory in another machine and need to get default path of that directory

    I am able to retrieve like the following for now ...
    "\\computer1\MySql"

    "MySql" folder in that machine is in C:\

    how can i get the full path of "C:\MySq" using vb.net from my machine

    MySql is shared in that machine

    thankzzzzzz
    gh

  2. #2
    Fanatic Member
    Join Date
    May 2003
    Posts
    758

    Re: how to get root path of directory from a network system

    My first guess would be that you would need to enumerate through the shares on the remote machine to determine the path. For security reasons, that does not seem like something that the remote machine would send out as information about the folder's location.
    My.Settings.Signature = String.Empty

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: how to get root path of directory from a network system

    You can go from a mapped path to UNC path, but not the other way around (at least nothing that I know of). Or maybe I'm just not searching it hard enough...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width