Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mmd(1) — Digital UNIX 4.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mcd(1)

mrd(1)

mtools(1)

mmd(1)  —  Commands

NAME

mmd − mtools utility to make a DOS directory

SYNOPSIS

mmd [-v] msdosdirectory [msdosdirectories...]

FLAGS

-vDisplays the new directory name if the name supplied is invalid. 

DESCRIPTION

The mmd command makes a new directory on a DOS filesystem.  Unlike DOS conventions, 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 flag 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:\. 

ENVIRONMENT VARIABLES

The following environment variables affect the execution of mmd:

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/mmdExecutable file

RELATED INFORMATION

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

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