The screen displays a report for every directory on the drive, for
example:
Path: C:\LEDGER
Sub-directories:RECEIV
PAYABL
SALES
If you would also like to see a list of all the files in the
directories, add the /F switch to the command:
TREE /F
The screen displays the directory information shown above plus
the names of all files in each subdirectory, for example:
Path:
C:LEDGER\SALES
Sub-directories:None
Files:
DECSALES
FORECAST.90
OCTSALES
NOVSALES
To see the list of directories on another drive, include the drive
designator:
TREE A:
Removing Directories
You may sometimes want to remove directories you no longer
need. A directory must be empty, however, before you can
delete it. If it contains any files or subdirectories, MS-DOS
displays an error message and does not delete the directory.
(Use the DEL command to delete the files in a directory.)
Using MS-DOS With Your Computer
4-25