I have a Win 8. Del3 is about as close to Deltree as you can get, so I would think it will clear a whole drive if Deltree could. I went crazy trying to solve this!! Thank you so much! I was hunting for this information all over the place. Had to delete a folder with spyware programs and windows explorer refused to display hidden folders and files. This was the only way to do it. Tom Schneider 8 years ago.
HAL Author 8 years ago. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. What ever happened to deltree, and what's its replacement? Ask Question. Asked 13 years, 1 month ago. Active 3 years, 3 months ago. Viewed 71k times. How to you easily i. Ross Ridge David Koelle David Koelle Add a comment. Active Oldest Votes.
Another option is to create a batch-file that calls both del and rd ; something like this: ::deltree. Synetech Synetech 9, 8 8 gold badges 60 60 silver badges 92 92 bronze badges. Did you mean rd? If so, then you need to re-read the help text; it says Removes all directories and files in the specified directory in addition to the directory itself.
Used to remove a directory tree. Like I said, it does not delete files. In order to delete the files in it, you have to use rd on the directory itself. But even with rd , if the directory is gone, how are the files not removed? And even if that didn't happen, it certainly does if you re-create the directory-you don't magically get a list of your files, again.
Pointers are essentially removed. Not sure I'd believe that-that'd be a terrible bug. But by removing the directory you can remove the files. Newer versions of Windows do not have this command, but we can easily write a short batch script to do the same thing. Deleting from the command line is significantly faster than using Windows Explorer, often seconds instead of minutes, there is no running calculation of file sizes and no recycle bin.
This does mean there is no possibility of an undo other than restoring a backup. In many cases, simply running RD from the command line will be orders of magnitude faster than using Windows Explorer.
However for very large deletes roughly , files plus an additional significant time saving can be achieved by using a two pass approach: first deleting the files and then the folders.
0コメント