How dow I remove 1.000.000 WebsiteCache directories?
- by harper
I found that in a WebsiteCache directory more than 1.000.000 subdirectories has been created. I want to remove all these directories. My first approach was to use the command line tool:
cd WebsiteCache
rmdir /Q /S .
This will remove all subdirectories except WebsiteCache itself, since it is the current working directory.
I noticed after two hours that the directoriws starting with A-H have been removed.
Why does rmdir removes the directories in alphabetical order? It must take additional effort to do this ordered.
What is a fast way to deleted such an amount of directories?