Skip to content

dos_mkdir

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

Creates a new directory. The dos_mkdir function creates all the directories in the specified path, beginning with the root.

Syntax

(dos_mkdir path)

Parameters

path

A string containing an existing path.

Returns

A qualified path to the newly created directory if successful.

nil if not successful, or on error.

Example

Command: (dos_mkdir "c:\\temp\\")
"c:\\temp\\"

Command: (dos_mkdir "c:\\temp\\autocad\\drawings\\project")
"c:\\temp\\autocad\\drawings\\project"

Clone this wiki locally