Skip to content

dos_localpath

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns the local path that is currently mapped to given UNC path.

Syntax

(dos_localpath path)

Parameters

path

A string containing a qualified UNC path.

Returns

A string containing a qualified, local path if successful.

nil on error.

Example

Command: (setq a "z:\\drawing.dwg")
"z:\\drawing.dwg"

Command: (setq b (dos_uncpath a))
"\\\\lulu\\archive\\drawing.dwg"

Command: (dos_localpath b)
"Z:\\drawing.dwg"

Clone this wiki locally