cd [options] <directory>
Display help.
The directory to change to. [filename]
Change the current working directory.
Note, cd
can be used to navigate between drives (eg cd e:\
), but the DOS approach of switching between drives with commands like c:
and e:
is also supported.
The current working directory is stored in the environment variable PWD
, but you should use the cd command rather than updating this variable directly.
Copyright (c) 2006-2010 Accenture. All rights reserved.