I have needed a tool like this ever since the old DOS DELTREE was not included in later windows versions. This version is intentionally writen so it will not delete a root direcory just as a safety margin but it is still a very dangerous tool in that it will take out entire directory trees.
Be careful playing with this tool as it can trash a large amount of a HDD very quickly, I did the testing on seperate partitions where there was nothing important to delete but if you have a machine that only has a single partition, exercise caution.
[attachment deleted by admin]
This also works.. :bdg
rd somedir /s /q
You only need the /s, /q is quiet mode but it assumes cmd.exe and running the capacity from the console. This one is a useful toy that is easy enough to code into an application that has for instance an uninstall to perform.