Graphically displays the directory [folder] structure of a given drive or path. Optionally includes filelist in display.


 Syntax: TREE [d:][path] [/F] [/A]
       The drive and path to start from.  If no path is given, start
       from the current directory.
   /F  Display the names of files in each directory.
   /A  Use ASCII characters to visually represent the directory

   /?  Display help and exit.

 Additional Options in FreeDOS Tree: (Not available in standard Tree.)
   /V  Display version information and exit.
   /S  Shortnames only (disable Long File Name support, DOS version only).


To display the complete directory hierarchy of drive C and pause
after each screenful, run tree specifying C: as the start path and
pipe its output to the more command:

tree C:\ | more

To display the directory hierarchy of a subdirectory and have the
output only use standard ASCII characters (such as for printing or
sending to someone who may view it without DOS line/box drawing character
support), specify the subdirectory and the /A switch:

tree ASUBDIR /a

To display the structure of a directory tree and the files within
each directory, add the /F switch:

tree /f | more

Copyright: This document is public domain, only public domain additions will be accepted.
Thus this document may be freely copied, etc. but no warranty, claim of correctness, nor fitness for any purpose is given.
KJD 2003