Full path of mapped directory
-
Hi everybody, I am stucked with a small problem. Please help me. I want to know that original path of the directory mapped to my system. Let me explain you more clearly Imaging "worker" folder on System1 is mapped to System2 as "N" drive and from System2 user can see the folder as N:\\worker. I want to know the original path of worker folder on system1 like if worker folder is in C drive then "C:\\worker" Let me know if you want some more info. Thanks, Azghar
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.
-
Hi everybody, I am stucked with a small problem. Please help me. I want to know that original path of the directory mapped to my system. Let me explain you more clearly Imaging "worker" folder on System1 is mapped to System2 as "N" drive and from System2 user can see the folder as N:\\worker. I want to know the original path of worker folder on system1 like if worker folder is in C drive then "C:\\worker" Let me know if you want some more info. Thanks, Azghar
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.
From System2, there is no way to determine what that path is.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
From System2, there is no way to determine what that path is.
Dave Kreskowiak Microsoft MVP - Visual Basic
You can determine it from System1, eg. "net share", so you might also be able to somehow do it from System2 with WMI, but I'll leave the details of that to you. :)
Matt Gerrans
-
You can determine it from System1, eg. "net share", so you might also be able to somehow do it from System2 with WMI, but I'll leave the details of that to you. :)
Matt Gerrans
:doh:! You're right! So long as the user that's running the code has the appropriate permissions on the server machine, the code can use WMI to enumerate the Shares on the server.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
:doh:! You're right! So long as the user that's running the code has the appropriate permissions on the server machine, the code can use WMI to enumerate the Shares on the server.
Dave Kreskowiak Microsoft MVP - Visual Basic
Can you show may sample program of WMI....
If you have faith in the cause and the means and in God, the hot Sun will be cool for you.