Category : File Managers
Archive   : KILLDIR2.ZIP
Filename : KILLDIR2.DOC

Output of file : KILLDIR2.DOC contained in archive : KILLDIR2.ZIP
KD - kill directory - Version 1.5
Copyright (c) Mike Bailey 1988. All Rights Reserved.

This program may be copied and distributed freely as long as no changes
are made to the documentary file, the source code or the executable.

Mike Bailey
Madison, WI
May, 1988

This program will delete a directory, all of its subdirectories
and all files contained in those subdirectories. This is a command
line program, which takes the path and directory name to kill and
returns a query (y/n) to make certain that this is what is desired. The
query is necessary since this is a powerful command that kills
the entire tree contained within the chosen directory.

Changed from a previous version: any subdirectory directly off the
one you are in can be named, instead of giving the entire path from

The directory to kill can be named by either method.

Whether it would actually cause problems or not, I rethought allowing
use of the dot '.' as an allowable parameter and eliminated
permitting it, since you could conceivably kill you root directory
using this.

Example directory name: C:\DIRX\DIRTOKILL

The first form of the syntax requires that the full path be entered,
including the drive name, such as KD C:\DIRX\DIRTOKILL.

The second form acceptable, if you are already in C:\DIRX, is to
simply type in KD DIRTOKILL, which will kill DIRTOKILL and everything
contained within it, including all files and subdirectories.

Since I couldn't find any utility to completely delete a directory
and everything in it, including subdirectories, whether they were
empty or not, I finally got around to writing this one. As I
mentioned, this is a fairly powerful utility, so use with caution
and always be sure that you follow the practice of making - at
minimum - weekly backups of your hard disk.

For those who despise being asked whether they are behaving in a safe
and sane manner, I deleted the query whether or not you want to
delete the named directory (y/n)? and recompiled this version as
KDY.EXE, which I'm including with the other files in KILLDIR2.ARC.

If there are any comments, please address them to me on any of the
BBS here in the Madison, WI area.

  3 Responses to “Category : File Managers
Archive   : KILLDIR2.ZIP
Filename : KILLDIR2.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: