Name

md or mkdir

Synopsis

Use md to make a directory (folder), rooted in the current directory (set with cd). The syntax is:

md [drive:]path
               

Examples

md harry
md c:\olddir\newdir

Note that folder names with spaces must be enclosed in quotation marks; the following two commands yield different results:

C:\>md rolling stones
C:\>md "rolling stones"
               

Get Windows XP Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.