Skip to content

dos_ispathroot

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

Parses a path to determine if it is a directory root.

Syntax

(dos_ispathroot path)

Parameters

path

The path to be validated.

Returns

T if the path is a root path.

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

Example

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

Command: (dos_ispathroot "C:\\")
T

Clone this wiki locally