MD - Create a subdirectory
Purpose: Create a subdirectory.
Format: MD [/N /S] path ...
or
MKDIR [/N /S] path ...
path : The name of one or more directories to create.
/N(o update) /S(ubdirectories)
See also: RD.
Usage
MD and MKDIR are synonyms. You can use either one.
MD creates a subdirectory anywhere in the directory tree. To create a
subdirectory from the root, start the path with a backslash [\]. For
example, this command creates a subdirectory called MYDIR in the root
directory:
[c:\] md \mydir
If no path is given, the new subdirectory is created in the current
directory. This example creates a subdirectory called DIRTWO in the
current directory:
[c:\mydir] md dirtwo
To create a directory from the parent of the current directory (that is,
to create a sibling of the current directory), start the pathname with
two periods and a backslash [..\].
When creating a directory on an HPFS drive, you must quote any path which
contains whitespace or special characters. See File Names for additional
details on file name quoting.
If MD creates one or more directories, they will be added automatically
to the extended directory search database unless the /N option is
specified.
Options
/N: (No Update) Do not update the extended directory search
database, JPSTREE.IDX This is useful when creating a
temporary directory which you do not want to appear in the
extended search database.
/S: (Subdirectories) MD creates one directory at a time unless you
use the /S option. If you need to create the directory
C:\ONE\TWO\THREE and none of the named directories exist, you
can use /S to have MD create all of the necessary
subdirectories for you in a single command:
[c:\] md /s \one\two\three
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs