Chdir and Cd Command


cd [directory]

chdir [directory]


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.


cd \mydir

cd prints "\mydir"