Windows

mkdir

SafeMake a directory

mkdir <dir>

Creates a new folder (same as md).

Examples

  • mkdir C:\logs\2026Create nested folders

Syntax

mkdir <dir> (alias: md)

Before you run it

Creation only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store