This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Creates a directory or subdirectory.
mkdir [Drive**:**]Path
md [Drive**:**]Path
Drive: : Specifies the drive on which you want to create the new directory.
Path : Required. Specifies the name and location of the new directory. The maximum length of any single path is determined by the file system.
/? : Displays help at the command prompt.
To create a directory named Taxes with a subdirectory named Property, which contains a subdirectory named Current, type:
mkdir \Taxes\Property\Current
This is the same as typing the following sequence of commands with command extensions disabled:
mkdir \Taxes
chdir \Taxes
mkdir Property
chdir Property
mkdir Current
Format | Meaning |
|---|---|
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |