Ftp: lcd

 

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

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