" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
TREE COMMAND
Purpose: Displays the path of each directory and subdirectory on the given
drive and lists the contents of each directory.
Syntax: TREE [d:][path] [/F[ILES]] [/A[SCII]] [/M[ORE]]
Type: Internal command
Parameters:
[d:] defines the drive, whose directories should be listed. If the drive
is not specified, the default drive is assumed.
[path] defines the directory, whose subdirectories should be listed. If
the directory is not specified, the default directory is assumed.
/F allows to display the list of all filenames.
/A allows to use characters with < 127 code to display the
subdirectory tree.
/M displays data one screen at a time.
Examples:
1. A>tree c:
displays all directories of the drive C:
C:
+-CD-ROM
+-DOS
+-EXE
+-NWWS
+-DOSODI
2. A>tree /a c:
displays all directories of the drive C, using ASCII characters only.
C:
+-CD-ROM
+-DOS
+-EXE
\-NWWS
\-DOSODI
3. A>tree b: /f > b:\tree.lst
writes the list of all directories of the drive B into the TREE.LIST file,
situated in the main directory of the drive B. This file will contain names
of all directories and filenames of each directory. Contents of the
TREE.LST file (example):
There are no SubDirectories
mess
chkdsk.txt
config.txt