| Click this button to go to the index for this section. |
mrd(1)
NAME
mrd - mtools utility to remove a DOS directorySYNOPSIS
mrd msdosdirectory [msdosdirectories...]DESCRIPTION
The mrd command removes a directory from a DOS filesystem. 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 supported. If you use the '\' separator or wildcards, you must enclose filenames 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:\.ENVIRONMENT VARIABLES
The following environment variables affect the execution of mrd: MCWD 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.EXIT VALUES
The following exit values are returned: 0 Success 1 FailureFILES
$HOME/.mcwd Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:\. /usr/bin/mtools/mrd Executable fileRELATED INFORMATION
Commands: mcd(1), mmd(1), mtools(1)