The description below is from the book DOS the Easy Way by Everett Murdock Ph.D.
CLICK HERE for information about downloading the book.
Type: External (2.0 and later)
TREE [d:][path] [/A][/F]
Purpose: Displays directory paths and (optionally) files in each
When you use the TREE command each directory name is displayed along with
names of any subdirectories within it. The display will be in a format
summary below. (Different versions of DOS may display the data in a
First, the root directory and the directories within it are listed
names listed in a five column display):
DIRECTORY PATH LISTING FOR VOLUME (volume name)
Path is C:
Then each directory within the root is listed:
Path is: C:\(directory name)
/A - Specifies that alternative characters (plus signs, hyphens, and
bars) be used to draw the tree diagram so that it can be printed by
that don`t support the line-drawing and box-drawing characters (DOS
/F - Displays the names of the files found within each directory
For more information on using the TREE command and other fixed-disk
refer to Chapter 3, Using Fixed Disks.
To list the directories on the disk in drive A, enter