help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
TREE
Note  Examples
────────────────────────────────────────────────────────────────────────────
 
                                    TREE
 
Graphically displays the structure of a directory.
 
Syntax
 
    TREE [drive:][path] [/F] [/A]
 
Parameters
 
drive:
    Specifies the drive that contains the disk for which you want to display
    the directory structure.
 
path
    Specifies the directory for which you want to display the directory
    structure.
 
Switches
 
/F
    Displays the names of the files in each directory.
 
/A
    Specifies that TREE is to use text characters instead of graphic
    characters to show the lines linking subdirectories. Use this switch
    with code pages that do not support graphic characters and to send
    output to printers that don't properly interpret the graphic
    characters.
 
Related Command
 
For information about displaying the contents of a directory, see the <DIR>
command.
 
                                      ♦