GetUNCPathΒΆ

The GetUNCPath function retrieves the universal naming convention (UNC) path for a mapped network drive.

ssUNCName = GetUNCPath(ssDriveLetter)

Return Value

ssUNCName is the UNC path or an empty string if the function fails.

Parameters

ssDriveLetter

ssDriveLetter is name of the local device, e.g. x:, to get the UNC path.

Example

* GetUNCPath("k:")
\\P450\d

id-1618168