home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / diskutil.zip / treegone.doc < prev   
Text File  |  1999-11-13  |  2KB  |  32 lines

  1. Purpose:
  2. This is a program that I wrote to quickly delete directory trees.  
  3. This program is freeware, I put it out here because the other 
  4. programs I have found to remove directory trees either cannot
  5. handle read only attributes or require to many parameters and/or
  6. require the user to answer are you sure many times.  This program
  7. is quick and dirty - it asks only once and doesn't repeat itself just 
  8. because it comes across read only attributes.  
  9.  
  10. Usage:  Directory tree to be squashed  X:\badtree
  11.     from X:     treegone badtree
  12.  
  13.  
  14. What it does:
  15. It will first check to see if it can remove the directory quickly,
  16. if not it will first remove any read only attributes so that the 
  17. tree can be deleted (it also means that they will not save you 
  18. if you didn't mean to delete the directory).  It then deletes the 
  19. files.  The next step is to remove the directories. 
  20.  
  21. The program asks you if you are sure you want to proceed and accepts
  22. only Y(y) or N(n).  Once one of these is pushed it will proceed without 
  23. waiting for the return key so if you push yes the directories are gone.
  24.  
  25. Known Features/Bugs:
  26. 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).
  27.  
  28.  
  29. Disclaimers:
  30. This is a program has the potential to be very dangerous if used incorrectly, use at your own risk.  
  31. 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.  
  32. 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.