NEWDIR

NEWDIR

This command creates a directory .

Syntax

NEWDIR 2 DIR= 3dir name 2 ;SHOW NOSHOW 3

Parameters

dir

 

name

The name of the directory that is being created (required).

 

 

 

 

The dir

 

name is assumed to be an MPE name. HFS-named

 

 

 

 

 

 

 

directories may be created if dir

 

name starts with a dot (.) or

 

 

 

 

 

 

 

a slash (/). The dir

 

name may not end in a slash. Wildcards

 

 

 

 

 

 

 

are not allowed. The dir

 

name may not reference a ￿le

 

 

 

 

 

 

 

equation.

SHOW

Causes the absloute pathname of the newly created directory

 

 

 

to be echoed to $STDLIST. SHOW is the default.

NOSHOW

Suppresses the displa y of the absolute directory name.

Operation Notes

The NEWDIR command creates a directory named dir name . All parent directories must already exist. The dir name inherits the group ID (GID) from its parent directory and the user ID (UID) from the user creating the directory . The special directory en tries dot (.) and dot-dot (..) are automatically created under dir name .

By default NEWDIR creates an MPE-named directory . This means that

dir name must follow all MPE naming rules, unless it is pre￿xed with a dot

(.)or a slash (/). Since the MPE name syn tax de￿nes three lev els, fully (or partially) quali￿ed MPE-named directories can only be created under MPE groups. Unquali￿ed MPE-named directories are created relativ e to the CWD. Directories do not support loc kwords, ￿le equations, or system de￿ned ￿le names (for example, $NEWPASS ). If dir name begins with a dot (.) or a slash (/), then HFS naming rules are enforced.

MPE/iX Commands 2-155