HPlogo New Features of MPE/iX: Using the Hierarchical File System: 300 MPE/iX Computer Systems > Chapter 6 Managing Directories

Listing Directories

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

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 /
Feedback to webmaster