fs.makeDir
From ComputerCraft Wiki
Revision as of 19:14, 21 April 2013 by Hawk777 (Talk | contribs) (Remove a confusing and unnecessary clause)
| Creates a directory (fails if the location already exists as a file; silently does nothing if the location already exists as a directory; recursively creates directories if a parent is also missing). | |
| Syntax | fs.makeDir(string path) |
| Returns | nil |
| Part of | ComputerCraft |
| API | fs |
Examples
| Create a directory called "efgh" inside a directory called "abcd" ("abcd" need not exist; it will be created) | |
| Code |
fs.makeDir("abcd/efgh")
|