# setcd

Sets the shell's current directory.

### Synopsis

`setcd [directory name]`

### Description

Specifies a directory as the current directory.

There's always a current directory in the shell. You can refer to files within that current directory in a relative manner without a full path specification, To display the current directory, use the showcd command, or by execute setcd with no arguments.

### Arguments

[directory name]
  Name of the new current directory. If this argument is not supplied, the name of the current directory is displayed, and is not changed.

### Implementation

Command implemented in shell V20.

Built-in shell command.

### Synonyms

`cd`

### See Also

`showcd`