Windows tree Command Example

A quite often forgotten Windows command, tree, is useful when documenting and looking at a folder layout.

What is Tree?

Graphically displays the folder structure of a drive or path.

Syntax

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

   /F   Display the names of the files in each folder.
   /A   Use ASCII instead of extended characters.

Example

Here are two examples, one with displaying ASCII characters and one with extended character output.

ASCII Output

ASCII Output

Extended Output

Extended Output

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.