Dec 282017
Kdir will let you delete an entire directory and all its subdirectories with one simple command.
File KDIR14.ZIP from The Programmer’s Corner in
Category File Managers
Kdir will let you delete an entire directory and all its subdirectories with one simple command.
File Name File Size Zip Size Zip Type
KDIR.DOC 3346 1525 deflated
KDIR.EXE 10860 7024 deflated

Download File KDIR14.ZIP Here

Contents of the KDIR.DOC file

KDIR Version 1.4.1 - Kill Directory


Version 1.4.1 is a bug fix release. A bug was reported that
if a directory name was entered without the drive letter and
backslash, AND the directory name began with a letter corresponding
to a valid drive, you could get the DOS error "Not ready reading
drive A - Abort, Retry, Ignore". This release corrects this problem.


Kdir is one of those utilities you wish you had every now and
again when you're faced with the task of deleting an entire
directory structure. To do it by hand, you have to change to
each subdirectory, delete all files, switch back to the parent
directory, then remove each empty subdirectory. If any files
have the hidden, or read-only attribute set, you have to reset
the attrubites so you can find and delete them too before you can
remove the subdirectory. This process can be a real pain if you
have deeply nested directory structures. Kdir eliminates the
need to perform this laborious process.

Kdir will let you delete an entire directory and all its
subdirectories with one simple command. All files contained in the
subdirectories will be deleted - even if they are hidden or read-
only. Thus, Kdir is a powerful, yet potentially dangerous

Before dismantling and removing the directories you specify,
Kdir will list all subdirectories that will be affected by the
operation. It then asks your permission to proceed. If you
allow Kdir to continue, it will print a complete audit trail of
its activities. Each file is listed as it is deleted, and when
each subdirectory is empty the program notifies you that it has
been removed.

If you want to keep a permanent record of what Kdir did, you may
specify the "/l" option on the command line. Kdir will then
record its actions in a log file called "KDIR.LOG". This log file
will be placed in the default directory.


kdir [Drive:]\directoryname[\subdirectory name] [/l]


>kdir c:\lotus\wksheets (removes the c:\lotus\wksheets directory)

>kdir c:\workarea /l (removes c:\workarea and all subdirectories
and logs its actions to KDIR.LOG)

>kdir a:\ (removes all directories & files on the
diskette in drive A:)

>kdir data (removes the "data" subdirectory beneath
the currently logged-in directory)


Kdir will process no more than 200 subdirectories in a single execution. For
most people this should not pose any problems.

Kdir has been tested on MSDOS versions 3.1, 3.2, and 3.3.


Kdir is distributed as Shareware. If, after trying Kdir, you find it
useful and want to continue to use it, please send your name and address
along with a $5.00 registration fee to:

Jim Simmons
7804 Virginia Lane
Falls Church, VA 22043

Registration will entitle you to use the program and to receive future updates
and bug fixes.

Any comments or suggestions about kdir can be sent to me at the above address,
or by sending mail to COMPUSERV ID: 70431,1325. Thank you for your support.

 December 28, 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>