Show TOC

DIRLocate this document in the navigation structure

Use

Shows content of the current folder. The command lists all the files and folders that exist both on the server and/or locally. It is possible to limit the output of the dir command using the * character as a wildcard. The * character means "zero or more characters".

Syntax

Syntax

DIR [filter]

Arguments

[filter]

The filter of the contents.

Description

Lists the local and remote files and folders in the current folder.

Example

Listing All Files and Folders According to the Beginning of the Name

To list all files and folders that exist under the current folder and whose name starts with "abc", execute:

dir abc*

Listing All Files and Folders According to Parts of the Name

To list all files and folder under the current folder whose name contains "abc", execute:

dir *abc*