FreeDOS help system (hhstndrd 1.0.8 en)[md]

Command: md

MD creates a directory or subdirectory.


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.


/? Shows the help


You can also use MKDIR instead of MD. If you simply type "MD 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. MD is a command internal to and needs no other file in order to work.


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

See also:

cd cdd chdir mkdir rd rmdir ------------------------------------------------------------------------------ Copyright (C) 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.