Skip to content

dos_dirp

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

Check for the existence of a directory.

Syntax

(dos_dirp path)

Parameters

path

A string containing an existing path.

Returns

T if the directory exists.

nil if the directory does not exist, or on error.

Example

Command: (dos_dirp "C:\\Program Files\\AutoCAD 2006\\")
T

Command: (dos_dirp "C:\\Program Files\\AutoCAD 2005\\")
nil

Clone this wiki locally