makefolder
Creates a new folder at the specified path.
function makefolder(path: string): ()Synopsis
How it works
Creates a new directory within the workspace folder. Calls
CreateDirectoryA(path, NULL). Supports nested creation — if intermediate directories don't exist, they are created recursively (similar to mkdir -p). No-ops silently if the directory already exists. Path is sandboxed to the workspace.Usage
Create a directory
makefolder("logs")
appendfile("logs/today.txt", "Session started\n")Parameters
path string Path to the folder to create.