This is a program that I wrote to quickly delete directory trees.
This program is freeware, I put it out here because the other
programs I have found to remove directory trees either cannot
handle read only attributes or require to many parameters and/or
require the user to answer are you sure many times. This program
is quick and dirty - it asks only once and doesn't repeat itself just
because it comes across read only attributes.
Usage: Directory tree to be squashed X:\badtree
from X: treegone badtree
What it does:
It will first check to see if it can remove the directory quickly,
if not it will first remove any read only attributes so that the
tree can be deleted (it also means that they will not save you
if you didn't mean to delete the directory). It then deletes the
files. The next step is to remove the directories.
The program asks you if you are sure you want to proceed and accepts
only Y(y) or N(n). Once one of these is pushed it will proceed without
waiting for the return key so if you push yes the directories are gone.
Known Features/Bugs:
The program will check to make sure you are not trying to delete the current directory directly; however, it does not check to make sure you are not deleting a directory that the current directoryis a part of. Therefore if you were in a directory other than the root directory and tell it to delete the root directory it will delete just about everything on the drive. This program also deletes files that arein use (I haven't had the courage to test this but I believe that if the swapper.dat file were in a subdirectory that you specified to delete that it would delete it).
Disclaimers:
This is a program has the potential to be very dangerous if used incorrectly, use at your own risk.
I designed this program to be able to quickly remove entire directory trees with a minimum of effort,therefore if you delete something you didn't mean to delete it is not my fault, you are using at your own risk.
There is no guarantees with this program. There are no known reasons that this program should delete anything that you don't tell it to (either intentionaly or by accident) and I accept no responsibility for its use or misuse so use with care.