Ftp: lcd

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Ftp: lcd

Changes the working directory on the local computer. By default, the working directory is the directory in which ftp was started.


lcd [Directory]

Specifies the directory on the local computer to which to change. If Directory is not specified, the current working directory on the local computer is displayed.

? lcd
Displays help for the lcd command.

Formatting legend


Format Meaning


Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also