Contents of the DIRDEL.DOC file
July 15, 1989
DIRDEL - Directory Delete, Version 1.24 - Deletes entire
subdirectory trees. Even deletes the current directory. The
executable file for this version is significantly smaller than
before. JPI TopSpeed Modula-2 source code now included.
To quickly and easily delete any subdirectory, whether empty or
containing files and other directories. An entire directory
tree can be deleted with one command.
This is FREE software. This program was written by me for my
personal use. However, if others also find it useful, please
feel free to use it or pass it along.
No special installation is necessary. Just copy the DIRDEL.EXE
file to the disk from which you will be invoking the command.
It is suggested, however, that you copy this file to a directory
included on your PATH.
To delete a directory and all included files and directories,
specify the directory to delete from the command line.
Usage: dirdel [drive][path]dirname
There are no command-line switches. If what you type as the
directory name is a valid one, it and its contents are simply
deleted after you answer in the affirmative to the initial
In specifying the directory to delete, you may optionally
include a drive letter followed by a colon. You may also
include the complete path, preceded by a backslash, starting
from the root directory of the target drive. Otherwise, the
current default directory of the target drive will be used.
Examples: dirdel junk
To delete either the current directory or a directory "above"
the current one, which will also delete the current one, be sure
to start the specification from the root directory.
Example: C:\JUNK\JUNK2\JUNK3>dirdel \junk\junk2
The example above assumes you are currently in the JUNK3
subdirectory contained within its parent "\JUNK\JUNK2". The
command instructs the program to delete this parent and all
included files and directories. Therefore, after successful
completion, JUNK3 and JUNK2 will be deleted. The current
directory will then be JUNK, off the root directory.
The idea for this program came about from the practical need to
safely and simply delete entire subdirectory trees on a
recurring, almost daily, basis.
The original version of this program happened to be written in
the C language because the projects I was working on at the time
involved C source and object code. Versions starting from 1.2
are written in Modula-2.
Other free programs which I have written and contributed to the
CAL - Calendar V1.00 - 06/03/89 - A simple, stand-alone calendar
display program that can be used as a sort of perpetual
calendar. Valid years range from 0001 to 9999. This program is
NOT memory-resident. Scroll through the different months and
years. Source code included.
CRC-M2 - Cyclic Redundancy Checker V1.00 - 07/12/89 - This tiny
CRC program accepts wildcards and multiple filespecs from the
command line. Displays same CRC values as PKPAK and LHarc.
Source code included.
FIX - File Fix V2.15 - 05/16/89 - View and edit any type of
file, text or binary, read-only, hidden or system. Edit in
ASCII or hex. Useful for working with simple, random-record
files. Select files from a scrollable, pop-up directory window
- less typing required! (Source NOT included.)
FFIND - File Finder V1.05 - 06/16/89 - A simple program to find
any file or subdirectory. Although the size of the executable
file is a little larger than that of the competition and
although there are no command-line switches, this little utility
is also often a little faster, is free - and the source code is
All the above program were written in JPI TopSpeed Modula-2.
Interested users are encouraged to contact me with comments, bug
reports, suggestions and questions about any of the above
programs. I can be reached at the addresses below:
By conventional mail:
Raymond T. Kaya
P. O. Box 1436
Honolulu, HI 96806
By electronic mail: