Listing Directories [ 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
Listing Directories
The LISTFILE command traverses hierarchical directories and accepts
pathnames. Because MPE/iX file names can be long, the output format
displays any names with the HFS syntax as the last item, wrapping the
ends of long file names onto the next line, if necessary.
To list only the directories that are within the current working
directory, use the LISTDIR system-provided UDC. The LISTDIR UDC invokes
the LISTFILE command.
For example:
:LISTDIR
This example lists all directories in your current working directory.
Note that it does not list subdirectories that may exist below any of the
directories located there.
LISTDIR can be used to show directories anywhere on the system:
LISTDIR /
MPE/iX 5.0 Documentation