Skip to content

dos_ispathunc

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

Determines if the string is a valid UNC (universal naming convention) for a server and share path.

Syntax

(dos_ispathunc path)

Parameters

path

The path to be validated.

Returns

T if the path is a UNC path.

nil if the path is not a UNC path, or on error.

Example

Command: (dos_ispathunc "C:\\Program Files\\AutoCAD 2006\\")
nil

Command: (dos_ispathroot "\\\\Server\\Shared Folder")
T

Clone this wiki locally