Home Contents | # os.mkdir | OS | Core4 Lua Commands

## SYNOPSIS

os.mkdir(path)

## DESCRIPTION

Creates a directory at path.

## RETURN VALUE

On success, returns true. On error, three values are returned: nil, a string describing the error (The result of the C library call strerror() on the errno code) and the errno number from the standard C library.

## SEE ALSO

os.remove, os.cwd, os.chdir, os.opendir