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.

[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 MD instead of MKDIR.
  If you simply type "MKDIR 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.
  MKDIR 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:

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

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

See also:

  cd
  cdd
  chdir
  md
  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.