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
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.
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...