MKDIR, MD

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

Command Processor Commands | Command Processor Shell

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.