home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PASSRC.ZIP
/
OT.DOC
< prev
next >
Wrap
Text File
|
1991-02-04
|
3KB
|
67 lines
Filename OT.DOC - Oaktree Documentation Oct 18, 1988
The program supplied by IBM and compatible makers named
TREE.COM is a nearly unuseable program since it really
doesn't tell you much about your directories. Because of
that deficiency, OT (OakTree, a more substantial tree)
was written. It will give you more information about
your disk than you will ever need, but it is somewhat
interesting to see just what is on your disk.
OT3.PAS was written in TURBO Pascal 3.0 and was debugged
using PC-DOS 3.1, but should work on any DOS of 2.X or
greater. OT4.PAS was rewritten in TURBO Pascal 4.0 and
uses many of the extensions added to versions 4.0 and 5.0.
Neither of these wil work with DOS 1.X since DOS 1.X does
not support directories.
The generalized command format is;
C>OT [drive:] [filename.ext] [/n] [/p] [/s]
If no drive is specified, the default drive will be
listed.
The tree, beginning at the current directory, will be
listed. If you are in the root directory, you will get
a listing of the entire disk.
The filename.ext can be supplied with wildcards (* and $)
to get a listing of certain types of files.
/n - filenames will not be listed, only the directory
structure of the disk.
/p - will cause a listing to be sent to the printer with
page numbers.
/s - will result in some extra disk statistics being in-
cluded in the listing following the header line.
Examples of useage;
C>OT The tree, starting at the current directory will
be displayed on the monitor.
C>OT *.PAS All files with extension PAS will be listed in
the current tree along with an indication of where
they are.
C>OT WHERE.WHO If this filename exists on the disk, it will
be listed along with what directory it is in.
This is useful for finding a lost file.
C>OT /p /s The current tree will be listed on the monitor,
and also printed out. The disk statistics will be
included in both locations.
C>OT /n Lists only the directories in the current tree.
C>OT A: /p The information concerning disk drive A will be
listed and printed.
C>OT /p /s If started from the root directory, this will result
in the maximum amount of information. The listing is
very useful in case of a disk crash because it will
aid you in restoring the disk to its precrash state.