Dec 242017
 
A directory tree utility.
File TREEDIR3.ZIP from The Programmer’s Corner in
Category File Managers
A directory tree utility.
File Name File Size Zip Size Zip Type
TREEDIR3.C 6656 2476 deflated
TREEDIR3.COM 6400 3929 deflated
TREEDIR3.DOC 1280 642 deflated

Download File TREEDIR3.ZIP Here

Contents of the TREEDIR3.DOC file


TREEDIR -- Tree directory for MSDOS V2.0 and above.

This program combines TREE and DIR to produce a directory
of all files in each directory along with date, time and
file size.

usage:TREEDIR [directory] [/s] [/knnn]

If the directory is omitted, the tree starts with the root
directory. Use

TREEDIR .to start from the current directory.

Totals are given for each directory, which includes the
totals of any sub-directories. If the /s option is specified
only the totals are displayed.

This program was primarily written to display the actual space
used on the hard disk for each directory, and the amount of
space needed to copy to a diskette. This is due to the
allocation cluster of MSDOS: files on diskette are allocated
in increments of 1024 bytes while files on the hard disk (10 MB)
are in 4096 byte chunks. To see the space that would be taken
by some other allocation size, use the /k option. For example,
to see how much hard disk space would be used by copying all
the files from the diskette on drive a, type

treedir a: /k4

The program requires DOS 2.0 or higher, since it doesn't
make any sense otherswise.


Alan Losoff
Milwaukee, Wisconsin


 December 24, 2017  Add comments

Leave a Reply