Monday, February 16, 2009

Microsoft DOS tree command

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

Syntax

TREE Drive:\ Path /f /a

Drive:\PathDrive and directory containing disk for display of directory structure.
/fDisplays file names in each directory.
/aext 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

No comments: