mrd(1)mrd(1)NAMEmrd - mtools utility to remove a DOS directory
SYNOPSISmrd msdosdirectory [msdosdirectories...]
The mrd command removes a directory from a DOS file system. If the
directory is not empty, an error occurs. Unlike DOS conventions, this
command allows multiple arguments.
DOS subdirectory names that contain the '/' or '\' separator are sup‐
ported. If you use the '\' separator or wildcards, you must enclose
file names in quotes to protect them 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: Success. Failure.
The following environment variables affect the execution of mrd: 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 estab‐
lished by the mcd command. If this file does not exist, the default
mtools working directory is A:\. Executable file
Commands: mcd(1), mmd(1), mtools(1)mrd(1)