Creates a directory.
You can use the MKDIR or MD command to create a multilevel directory (folder) structure.
For information about deleting a directory, see the
For information about changing directories, see the CHDIR command.
Equivalent Linux BASH commands:
mkdir - Create new folder(s).
Long filenames are not supported by ISO9660 (Macintosh) CDROM's.
You cannot create a folder with the same name as any of the devices: CON, PRN, LPT1..LPT9, COM1..COM9. This limitation ensures that redirection to these devices will always work.
If you plan to copy data onto CDROM avoid folder trees more than 8 folders deep.
If Command Extensions are enabled: create any intermediate directories, as needed:
The same as (command extensions disabled):
MKDIR \one MKDIR \one\two MKDIR \one\two\three MKDIR \one\two\three\four
Suppose you want to create a directory on the disk in the current drive and use the directory to store all your tax information. To create a directory named TAXES, type:
You could also type this command with the same results:
Now suppose that the TAXES directory is the current directory and that you want to create a subdirectory of TAXES named PROPERTY. To create the PROPERTY directory, type: