------------------------- MS-DOS v6.22 Help: TREE --------------------------
<Notes> <Examples>                                                   <Index>
----------------------------------------------------------------------------
 
                                    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.
 
                                      ***

<Syntax> <Examples>
----------------------------------------------------------------------------
 
                                 TREE--Note
 
The structure that TREE displays depends upon the parameters you specify on
the command line. If you do not specify a drive or path, TREE displays the
tree structure beginning with the current directory of the current drive.
 
                                      ***

<Syntax> <Notes>
----------------------------------------------------------------------------
 
                               TREE--Examples
 
To display the names of all the subdirectories on the disk in your current
drive, type the following command:
 
    tree \
 
To display, one screen at a time, the files in all the directories on drive
C, type the following command:
 
    tree c:\ /f | more
 
To print the same list that the previous example displayed, type the
following command:
 
    tree c:\ /f > prn
                                      ***

----------------------------------------------------------------------------
<Top of page>
Last update: June 14, 2000 06:20 EST by -vjf-
Content © 1997 Microsoft Corporation
All else © 2000 Vernon J Frazee
Counter