Ftp: lcd

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Changes the working directory on the local computer. By default, the working directory is the directory in which ftp was started. For examples of how this command can be used, see Examples.

Syntax

lcd [<Directory>]

Parameters

Parameter Description

[<Directory>]

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

Examples

Change the working directory on the local computer to C:\Dir1

lcd C:\Dir1

Additional references