DOS Command Tree
Type: External (2.0 and later)
SYNTAX
TREE [d:][path] [/A][/F]
Purpose: Displays directory paths and (optionally) files in
each subdirectory.
Discussion
When you use the TREE command each directory name is displayed
along with the names of any subdirectories within it. The display
will be in a format like the summary below. (Different versions of
DOS may display the data in a slightly different format.)
First, the root directory and the directories within it are listed
(directory 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)
Options
/A - Specifies that alternative characters (plus signs, hyphens,
and vertical bars) be used to draw the tree diagram so that it can
be printed by printers that don`t support the line-drawing and
box-drawing characters (DOS Versions 4 and 5).
/F - Displays the names of the files found within each directory
listed.
For more information on using the TREE command and other fixed-disk
commands, refer to Chapter 3, Using Fixed Disks.
Example
To list the directories on the disk in drive A, enter
tree a:
This page is from
http://www.easydos.com. I
pasted it on my website to avoid possible broken links. For further
help with DOS commands, Check easydos.com out.