# Command: md

      MD creates a directory or subdirectory.

## Syntax:

      MD [drive][path]pathname
      MD [/?]
         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.

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## Options:

      /?  Shows the help

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## Comments:

      You can also use MKDIR instead of MD.
      If you simply type "MD PATHNAME" the directory will be created
      in the momentaneous direcory. Means: You create a subdirectory.
      In pure DOS the directory name must not be longer than 8 letters.
      MD is a command internal to command.com and needs no
      other file in order to work.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## Examples:

      md c:\test
      md c:\test\testx
        or if you are in c:\test:
      md test2 (creates c:\test\test2)

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      cd
      cdd
      chdir
      mkdir
      rd
      rmdir

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

      Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.

      This file is derived from the FreeDOS Spec Command HOWTO.
      See the file H2Cpying for copying conditions.