Extended Commands 

CD Console Command

Change Current Directory

Format

CD directory 

Where:

directory

Pathname of the directory to change to.

Description

The CD command can be used to change the current working directory for the process. Any valid directory name may be provided. All prefix and pathname translation rules (such as * asterisk for system library) will apply.

To change to the home directory, enter the CD command immediately followed by a ~ (tilde):

CD ~

To change to a sub-directory (i.e. mydir) in the home directory, include the sub-directory name after the ~ (tilde), separated by a / (slash):

CD ~/mydir

(The CD command was added in PxPlus v6.30.)