J
Joe Williams
How can a parse a UNC path to get just the hostname of the UNC path? for
instance, \\servername\sharename\foldername, I just want servername with no
\\.
It also has to be intelligent enough to deal with UNC paths of varying
lengths, for intance one time it might be \\servername\sharename or another
time it might be \\servername\sharename\foldername\foldername. In either
case I just need the servername returned.
Or is there a function that will simply just return the host name (NOT full
path) of a given drive letter?
Thanks!
Joe
instance, \\servername\sharename\foldername, I just want servername with no
\\.
It also has to be intelligent enough to deal with UNC paths of varying
lengths, for intance one time it might be \\servername\sharename or another
time it might be \\servername\sharename\foldername\foldername. In either
case I just need the servername returned.
Or is there a function that will simply just return the host name (NOT full
path) of a given drive letter?
Thanks!
Joe