" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
MKDIR (Make Directory) COMMAND
Purpose: Makes a directory on the specified disk (or subdirectory in
specified or current directory).
Syntax: MKDIR [d:] [path] subdirectory_ name
or
MD [d:] [path] subdirectory_ name
Type: Internal command
Parameters:
[d:] [path] defines the drive, where the subdirectory will be created and
the path to this subdirectory. If the drive is not specified,
the command uses the default drive.
Subdirectory's name is specified like filename.
Notes:
The number of created subdirectories is limited by the available space
and the length of path. The max. length of any path from the root directory
to the desired subdirectory cannot be more than 63 characters, including
obligatory backslashes "\".
Each directory may contain files and subdirectories, names of which can
be met in other directories. Consequently, files and subdirectories may
have similar names, if they are defined in different directories.
Examples:
1. The command:
A>md \level1
creates the subdirectory LEVEL1 in the root directory.
2. The command:
A>md \level1\level2
creates the subdirectory LEVEL2 in the subdirectory LEVEL1. If the directory
LEVEL1 is the current one, the last example can be written as following:
A>md level2
The backslash before the path means that DOS will begin search of the
specified subdirectory from the root directory.
Warning: Be careful creating a new directory, when ASSIGN, JOIN or SUBST
commands work.