Jump to content
Registration disabled at the moment Read more... ×
RTollison

finding the share of a unc path

Recommended Posts

yes but i am not a network educated so i dont know if there is a limitaion so if \\server\share is gospel then i can run with that. 

 

thanks

Share this post


Link to post

Yes, that's always the case: \\server\sharename or \\server\sharename\subfolder.

 

Note that there doesn't necessarily have to be a folder added on to that as the "sharename" part already points to a folder--the shared folder. Also, for hidden shares, the sharename will end with a "$" (at least on Windows).

Share this post


Link to post
23 hours ago, RTollison said:

if you were given a unc path how can you determine the \\server\share part of say \\server\share\myfolder

See TPath, it has divers and sundry methods to dissect pathes, including UNC pathes.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×