Export (0) Print
Expand All
Dos
Mem
Msg
Expand Minimize

Ftp: dir

Displays a list of directory files and subdirectories on a remote computer.

Syntax

dir [RemoteDirectory] [LocalFile]

Parameters

RemoteDirectory   : Specifies the directory for which you want to see a listing. If no directory is specified, the current working directory on the remote computer is used.

LocalFile   : Specifies a local file in which to store the listing. If a local file is not specified, results are displayed on the screen.

? dir   : Displays help for the dir command.

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

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

Ftp

Command-line reference A-Z

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft