Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Microsoft DOS tree command

Quick links

About tree
Availability
Syntax
Examples

About tree

Allows the user to view a listing of files and folders in an easy to read listing.

 

Availability

The tree.com is an external command that is available in the below Microsoft Operating Systems.

All Versions of MS-DOS
Windows 2000
Windows XP

 

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating systems

 

Resolved

Were you able to locate the answer to your questions?

Syntax

TREE Drive:\ Path /f /a

Drive:\Path Drive and directory containing disk for display of directory structure.
/f Displays file names in each directory.
/a ext characters used for linking lines, instead of graphic characters. /a is used with code pages that do not support graphic characters and to send output to printers that do not properly interpret graphic characters.

Examples

tree

List a tree listing of the current drive. Below is a basic example of what a directory may look like.

C:.
├───Common
├───Director
├───Flash
├───Shockwave 8
│ ├───DswMedia
│ ├───Prefs
│ └───Xtras
└───update

 

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope