ftp lcd

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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

Syntax

lcd [<directory>]

Parameters

Parameter Description
[<directory>] Specifies the directory on the local computer to which to change. If directory isn't specified, the current working directory is changed to the default directory.

Examples

To change the working directory on the local computer to c:\dir1, type:

lcd c:\dir1