Article is compatible with Microsoft Windows NT/2000/XP/Vista/7 command line.
MD and MKDIR are used within the Windows command shell to create directories and directory trees.
Syntax:
MD or MKDIR [ drive: ]path
MD or MKDIR [ /? ]
| drive | The drive you want to make your directory on. |
| path | The path you wish to use; this can also be created during the command. |
| /? | Displays the built-in help text. |
Examples:
- MD F:\test\alpha\bravo\charlie\delta
Assuming the directory test already exists on my F: drive, this command will create the directory alpha containing the directory bravo containing the folder charlie which contains the directory delta. - MKDIR \1\2\3\4\5
This command will create the directory 1 at the root of the drive. Inside 1, the subdirectory 2 contains the folder 3 which holds the directory 4 which contains the directory 5.
For more information on this command, check out the official Microsoft documentation, here.
Popularity: 23% [?]


