Commands · Command
CommandWindows
md / mkdir
mkdir directory (md is a built-in alias for the exact same command)Creates a new directory; md and mkdir are two names for the same CMD command.
// EXAMPLE
mkdir C:\Projects\new-app — creates new-app, and Projects too if it didn't already exist.
// GOTCHA
Unlike Linux mkdir (which needs -p to create parent directories), Windows' mkdir/md creates the whole path automatically — the opposite default from what Linux users expect.
// RELATED COMMANDS