RTollison 0 Posted December 18, 2023 if you were given a unc path how can you determine the \\server\share part of say \\server\share\myfolder Share this post Link to post
Lars Fosdal 1792 Posted December 18, 2023 Isn't that always \\server\share + \myfolder ? Share this post Link to post
RTollison 0 Posted December 18, 2023 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
corneliusdavid 214 Posted December 18, 2023 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
PeterBelow 238 Posted December 19, 2023 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