Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mrd(1) — Tru64 UNIX 4.0f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mcd(1)

mmd(1)

mtools(1)

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 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 supported.  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:\. 

EXIT STATUS

The following exit values are returned:

0Success. 

1Failure. 

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. 

FILES

$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 file

SEE ALSO

Commands: mcd(1), mmd(1), mtools(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026