Home / Lua Scripts Libraries API Manual / dtutils.file / mkdir
< get_path
rmdir >

# mkdir

## 🔗NAME

mkdir

## 🔗SYNOPSIS

create the directory(ies) if they do not already exist

## 🔗USAGE

    local df = require "lib/dtutils.file"
    df.mkdir(path)

path - string - a directory path

## 🔗DESCRIPTION

mkdir creates directories if they do not already exist. It creates parent directories if needed.

## 🔗RETURN VALUE

path - string - a directory path

< get_path
rmdir >