Dec 072017
 
Draws a tree diagram of HD structure, with source.
File VTREE2.ZIP from The Programmer’s Corner in
Category Pascal Source Code
Draws a tree diagram of HD structure, with source.
File Name File Size Zip Size Zip Type
VTREE2.EXE 9488 5985 deflated
VTREE2.PAS 11570 2980 deflated
VTREE2.TXT 1675 763 deflated

Download File VTREE2.ZIP Here

Contents of the VTREE2.TXT file


VTREE2.COM

FUNCTION: Like the DOS TREE command, and similar to PC Magazine's VTREE,
but gives you a graphic representation of your disk hierarchical
tree structure AND the number of files and total bytes in each
tree node (optionally can be omitted). Also allows starting at
a particular subdirectory rather than displaying the entire
drive's tree structure. Redirection of output and input is an
option. Version 1.0, 4-4-88.

USAGE: VTREE2 {drive:}{path} {/t} {/r}

/t or /T omits the number of files and total bytes information.
/r or /R activates redirection of input and output.

NOTES: 1. To print out the tree structure, enter:

VTREE2 /r > PRN

2. You must have ANSI.SYS as a device in your CONFIG.SYS file.

3. If the tree structure is more than 5 levels of subdirectory
deep, you will get an error message at the 6th or subsequent
levels, but processing will continue for prior levels.

4. Because of the redirection capability, VTREE2 is
substantially slower with the redirection option (e.g., 7.75
secs. for a big tree vs. 3.73 secs. if the redirection
option is not used), but it is only slightly slower than
VTREE when displaying file and byte information, and
slightly faster than VTREE when displaying only the same
information that VTREE shows.

CREDIT: The recursion routine used is based on an idea by James C.
Walker [72355,1616].



 December 7, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)