Search

Want to make a suggestion on how to improve this guide? Feedback (do not use to
ask questions; instead use the Search box above).

MS-DOS Commands :: md (mkdir)

Overview:

Creates a directory.

The command mkdir is the same as the md command; they do the same thing. You can use either the mkdir command or use the md command which takes fewer characters to type.

md /?

Creates a directory.
MKDIR [drive:]path
MD [drive:]path
If Command Extensions are enabled MKDIR changes as follows:
MKDIR creates any intermediate directories in the path, if needed.
For example, assume \a does not exist then:
mkdir \a\b\c\d
is the same as:
mkdir \a
chdir \a
mkdir b
chdir b
mkdir c
chdir c
mkdir d
which is what you would have to type if extensions were disabled.