mmd - mtools utility to make a DOS directory
mmd [-v] msdosdirectory [msdosdirectories...]
Displays the new directory name if the name supplied is invalid.
The mmd command makes a new directory on a DOS file system. Unlike DOS conventions, this command accepts multiple arguments. Reasonable care is taken to create a valid DOS directory name. If an invalid name is specified, the mmd command changes the directory name and displays the new name if the -v option is specified. If the directory specified exists, an error occurs.
DOS subdirectory names are supported with either the '/' or '\' separator. The use of the '\' separator or wildcards will require the directory name to be enclosed in quotes to protect it from the shell.
command can be used to establish the device
and the current working directory (relative to DOS), otherwise the default
The following exit values are returned:
The following environment variables affect the execution of
If set, this variable names the file that contains the name
of the current
working directory as established
command. If this variable is not set, the file
Contains the name of the current
working directory as established by the
this file does not exist, the default
Commands: mcd(1), mrd(1), mtools(1)