Changing Your Current Working Directory [ New Features of MPE/iX: Using the Hierarchical File System ] MPE/iX 5.0 Documentation
New Features of MPE/iX: Using the Hierarchical File System
Changing Your Current Working Directory
Use the CHDIR command to move your CWD from one directory to another.
You must have created the directory that you want to move to or have
appropriate permissions to access an existing directory. For example, if
you want to change to /SYS/PUB, you must have traverse directory entries
(TD) access for both SYS and PUB.
You can also use CHDIR to return to your logon directory.
For example, if you created a directory called memos in your logon group
(ALEXB) in your account (FOX) and your current working directory is
/FOX/ALEXB, you can move to it as follows:
:chdir ./memos
The name ./memos is a relative pathname. MPE interprets it relative to
the current working directory. You can move back up to the MPE group
level by specifying the full pathname:
:chdir /FOX/ALEXB
Or you can use a couple of shortcuts:
:chdir ..
Here .. represents the next level up or the parent directory. You can
also most simply type
:chdir
to move back to your initial working directory (logon group).
:chdir /SYS/PUB/CMDFLS
This example changes to the directory CMDFLS in the PUB group in the SYS
account.
MPE/iX 5.0 Documentation