We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Home > [Scripting Reference](Scripting Reference) > os.rmdir
The os.rmdir function removes an existing directory as well as any files or subdirectories it contains.
#!lua os.rmdir("path")
path is the file system path to be removed.
True if successful, otherwise nil and an error message.