Thanks for the link VBClassicRocks ,

This is the api which is used in the examples:
Code:
Private Declare Function PathIsNetworkPath Lib "shlwapi" _
   Alias "PathIsNetworkPathA" _
  (ByVal pszPath As String) As Long
and it seems to work for:
1. local paths (including relative paths)
2. mapped drives
3. UNC
4. IP address,
which is good.

I should be able to get to the server name from UNC and IP address paths, which means my only concern is how to extract the server name from a mapped drive path?