Command: mkdir
MKDIR creates a directory or subdirectory.
Syntax:
MKDIR [drive][path]pathname
MKDIR [/?]
drive The drive letter where you want to create a
directory, e.g. C:
path The pathname which already exists, e.g. if you are
already in a directory.
pathname The name of the directory you want to create,
e.g. \example. This may also be the name of a
subdirectory.
Options:
/? Shows the help
Comments:
You can also use MD instead of MKDIR.
If you simply type "MKDIR PATHNAME" the directory will be created
in the momentaneous directory. Means: You create a subdirectory.
In pure DOS the directory name must not be longer than 8 letters.
MKDIR is a command internal to command.com and needs no other file
in order to work.
Examples:
mkdir c:\test
mkdir c:\test\testx
or if you are in c:\test:
mkdir test2 (creates c:\test\test2)
See also:
cd
cdd
chdir
md
rd
rmdir
Copyright © 1998 Jim Hall, updated 2007 and 2020 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.