tree MS-DOS Command

(Display Directory)

Type: External (2.0 and later)


TREE [d:][path] [/A][/F]

Purpose: Displays directory paths and (optionally) files in each subdirectory.


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)


/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.


To list the directories on the disk in drive A, enter tree a:

About Dewwa Socc

Sahifa Theme License is not validated, Go to the theme options page to validate the license, You need a single license for each domain name.