next up previous contents index
Next: Call Up: Commands Previous: Commands   Contents   Index


Cd

The cd command changes the working directory.

Syntax:

     cd '<directory-name>'

The directory name must be enclosed in quotes.

Examples:

     cd 'subdir'
     cd ".."

It is recommended for DOS and Windows users to use single-quotes -- backslash [3#3] has special significance inside double-quotes and has to be escaped. For example,

     cd "c:\newdata"

fails, but
     cd 'c:\newdata'
     cd "c:\\newdata"

works as expected.

Ethan Merritt 2007-03-03