winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.rmdir.md

27 lines
404 B
Markdown
Raw Normal View History

2024-09-24 12:54:57 +00:00
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.
### Availability ###
Premake 4.0 or later.
### See Also ###
* [os.chdir](os.chdir.md)
* [os.getcwd](os.getcwd.md)
* [os.mkdir](os.mkdir.md)