Published on: 24th Nov 2011    |   Last Updated on: 24th Nov 2011

TREE - Dos Command :

It displays or represents the folder structure of a drive or path graphically.

To view 'tree' with its all possible parameters you can use following command. Its like help information to regarding that command.

tree/?

Commands can be run using Microsoft Windows XP Command Prompt (cmd.exe)

Syntax :
	TREE [drive:][path] [/F] [/A]

where,

/F : It displays the names of the files located in each folders.
/A : Use ASCII instead of extended characters.

Use 1:

tree C:
- It displays all folders/directory structures within all C:\ drive.

Use 2:

tree C: /F
It displays all folders/directories with files containing in it in C:\ drive.

Use 3:

tree C: /A

Output of Use 2:
tree command

Fig.: Using, tree C: /F
Output of Use 3:
tree command

Fig.: Using, tree C: /A

Link this post on your Blog/Website :

Follow us on :   Technoexam on facebook Technoexam on twitter Technoexam on linkedin Technoexam on youtube