mkdir
Description
Creates a new folder.
Syntax
mkdir -directory
Parameters
| Parameter | Alias | Required | Description |
|---|---|---|---|
-Directory (default) |
-d |
No | The folder to create. Supports placeholders. |
More about parameters
Note
For more information about placeholders, refer to the placeholders documentation.
Examples
mkdir -directory "NewFolder"
# mkdir
Remarks
Since 4.0.88, absolute vault paths preserve the spelling and casing of the new folder name. Vault-root matching is case-insensitive and requires a directory boundary.
Literal backslashes are preserved during directory evaluation: a segment such as
\newPartsor\releaseis not converted into a newline or other escaped text.This command creates a vault folder, not an arbitrary Windows filesystem folder. Use a path within the connected vault.
To get the new folder to show up in the auto-complete, please use the command
cd -refresh.directoryis the default parameter. You do not need to specify it.