.. highlightlang:: us .. index:: GetUNCPath .. _getuncpath: GetUNCPath ========== .. us.tag GetUNCPath ENGLISH New300 FILE_MISC The :ref:`GetUNCPath` function retrieves the universal naming convention (UNC) path for a mapped network drive. .. function:: ssUNCName = GetUNCPath(ssDriveLetter) .. us.return **Return Value** *ssUNCName* is the UNC path or an empty string if the function fails. .. us.params **Parameters** .. uparam:: ssDriveLetter *ssDriveLetter* is name of the local device, e.g. :file:`x:`, to get the UNC path. .. us.example **Example** :: * GetUNCPath("k:") \\P450\d .. seealso:: :ref:`overview-files`, :ref:`GetWindowsDirectory` :sub:`id-1618168`