MKDIR, MD

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This command creates a directory.

MKDIR path
MD path

Parameters

  • path
    Specifies the name for the directory that you want to create.

Remarks

MKDIR creates any intermediate directories in the path that do not exist already. For example, if the \b directory does not exist, then mkdir \b\b\c\d is the same as:

mkdir \b
chdir \b
mkdir b
chdir b
mkdir c
chdir c
mkdir d

See Also

Reference

Command Processor Commands

Concepts

Command Processor Shell