MKDIR (MD) + Creating New Subdirectories

Creates a new subdirectory.

VERSION

PC-DOS 2.0+

MS-DOS equivalent: MKDIR (MD) (2.0+)

TYPE

Internal

SYNTAX

MD [d:]path

OPTIONS

[d:] Specifies drive letter of disk you wish

to create the subdirectory on.

path Specifies path of directory names,

including the name of the subdirectory

to be created. The entire path name must

not exceed 63 characters, including

backslashes.

EXAMPLES

MD PHONES

creates a subdirectory named PHONES under your current

subdirectory.

MD B:PHONES

creates a new subdirectory under the default directory on the

disk in drive B.

MD \WP\FILES\PHONES

creates a new subdirectory named PHONES under the subdirectory

FILES, which is under the subdirectory WP, which in turn is

directly under the root directory (indicated by \).

UNDO

To delete a subdirectory that you have created with the

MKDIR command, you must use the RMDIR D) command. Note that the

subdirectory to be deleted with this command must be empty.

------------------------------------------------------------------

[For related topics, press R]

SEE ALSO

CHDIR Command

PATH Command

RMDIR Command

TREE Command