Contents of the KILLPATH.DOC file
KILLPATH -- Program by Christopher D. Bonatti -- Rev 2.10 -- 5/10/88
Copyright by General Technologies International (TM), 1987, 1988.
All rights reserved.
Copyright is not claimed as to any part of an original work
not prepared by, or on behalf of, or upon the direction of
General Technologies International (GTI).
This product is shareware. Development of GTI (TM) shareware
is financed entirely by user contributions. You are granted
a limited license to use this program on a trial basis. If
you find this program useful and wish to continue using it,
please register by sending a $20 registration fee to the
address below. Registered users will receive notification
of the next major revision. Your contribution will also
help to support further shareware products from GTI.
General Technologies International
P.O. Box 11276
Pittsburgh, PA 15238
Please include the program name and revision number in all
correspondence. Constructive commentaries or suggestions
KILLPATH [pathspec] [/L] [/R] [/P] [/T] [/H]
This program deletes the entire path specified by
PATHSPEC, regardless of whether the parameter specifies a
file, sub-directory, or root-directory. In the case where
PATHSPEC is a directory, KILLPATH recursively deletes the
contents of that directory, and the contents of any
directories which it contains, etcetera. Once the directory
specified by PATHSPEC has been totally emptied, the
directory is removed (except where it is a root-directory).
The /L parameter causes the path and name of each
element to be displayed as the element is deleted.
Normally when KILLPATH encounters a READ-ONLY file, the
user is asked whether that file should be deleted or not.
The program also queries the operator if it should continue
with the deletion process. The /R parameter causes KILLPATH
to delete any READ-ONLY files without asking.
When a file goes un-deleted and the KILLPATH process
continues, the program may be unable to completely delete
the specified path. When this ocurrs, KILLPATH will remove
the specified path to the maximum extent possible.
The /P parameter causes a confirmation prompt before the
deletion of each file or subdirectory. The user can then
delete selected files from a directory by simply specifying
the directory name with the /P parameter, and only confirming
those selected files.
The /T parameter engages "Trojan Horse" mode. While
operating in "T" mode, KILLPATH utilizes the compiler
directive $M- (relax moral constraints). This directive
allows KILLPATH to do anything it damn well pleases with your
disk drives (and it pleases plenty!).
The /H parameter causes the help screen to be displayed.
KILLPATH does not, at present, support the use of DOS
wildcard characters ? and * in path names.
Summary of Command Line Parameters:
d:path = (path specifier)
/L = (list files as they are deleted)
/R = (auto-delete read-only files)
/P = (prompts for delete confirmation)
/T = (Trojan Horse mode)
/H = (invokes this help listing)
These parameters can be included in any order.