Friday, April 27, 2012

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

No comments:

Post a Comment