Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > os.rmdir


os.rmdir

The os.rmdir function removes an existing directory as well as any files or subdirectories it contains.

#!lua
os.rmdir("path")

Parameters

path is the file system path to be removed.

Return Value

True if successful, otherwise nil and an error message.

Clone this wiki locally