CreateDir

This function creates a new directory.

Syntax

Parameters

Remarks

This function will have no effect if Lua sandboxing is enabled.

Example

--Create a file
local path = "MyDir"
FileSystem:CreateDir(path)