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

Showing Your Current Working Directory

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

MPE/iX provides a CI variable called HPCWD that keeps track of your current working directory (CWD). As you move around in the file system, it is useful to display your current location.

To find out your CWD, type the following command:

   :showvar hpcwd

   HPCWD = /SYS/PUB/Directory1/Directory2

The pathname of the directory is presented from the root directory down to the current location.

You can change your prompt so that it shows your current working directory at all times by including the variable in the prompt. Refer to the section "Change your prompt to show the current working directory" in Chapter 1.

Feedback to webmaster