mmd - mtools utility to make a DOS directory
mmd [-v] msdosdirectory [msdosdirectories...]
-v 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 con-
ventions, 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.
The mcd command can be used to establish the device and the current working
directory (relative to DOS), otherwise the default is A:\.
The following exit values are returned:
The following environment variables affect the execution of mmd:
If set, this variable names the file that contains the name of the
current mtools working directory as established by the mcd command. If
this variable is not set, the file $HOME/.mcwd is used.
Contains the name of the current mtools working directory as esta-
blished by the mcd command. If this file does not exist, the default
mtools working directory is A:\.
Commands: mcd(1), mrd(1), mtools(1)