Skip to content

dos_rmdir

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

Removes an empty directory.

Syntax

(dos_rmdir path)

Parameters

path

A string containing an existing path. The specified directory must be empty, and it must not be either the current directory or the root directory.

Returns

A qualified path to the removed directory if successful.

nil if not successful, or on error.

Example

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

Clone this wiki locally