8.6.11.2 Chdir and Cd Command

Syntax

cd [directory]

chdir [directory]

Description

The chdir and cd command change the current working directory to directory. If no argument is supplied, the current directory is displayed on standard output.

The built-in cd and chdir command are only available when menu has the built-in menu commands enabled. The current working directory remains in effect until another cd or chdir command, that effects the current working directory, is encountered.

Examples

cd \mydir

cd prints "\mydir"