mrd(1) — Commands
NAME
mrd − mtools utility to remove a DOS directory
SYNOPSIS
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:
MCWDIf 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:
0Success
1Failure
FILES
$HOME/.mcwdContains 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/mrdExecutable file