TREE

Graphically displays the directory structure of a drive or path.

TREE [drive:][path] [/F] [/A]

Where:

  • [drive:][path] - Specifies the drive or path to scan.
  • /F - Also displays files.
  • /A - Only uses ASCII characters instead of extended characters.

If neither drive: nor path is specified, scans the local disk (C:).

Example: Graphically displays the directory structure of C:\WINDOWS and the files contained in it and its subdirectories:

tree "C:\WINDOWS" /f

Comments