I've tried everything in this thread and the problem still exests (Windows 7 x64). Specifically, I'm trying to cleanup an uninstall of the Chrome browser and I'm trying to delete a directory within the INDEXEDDB directory. The problem is that it has over 92,000,000 (YES, 92 MILLION) freaking files!
No, it's not a corrupt directory or a trashed drive. Several tests including CHKDSK and everything is fine hardware wise. The files are a "known operating feature" of the browser.
The problem is that the pre-processing takes forever, we're talking about millions of files here.
Gosh, I miss the old DELTREE command...
For the whole dir in File Attributes uncheck both "File is ready for archiving" and "Allow this file to have contents indexed in addition to file." Then try Del /S from the command prompt for that dir. I had a 19 GB file the was stuck at "Calculating..." for over an hour. So I rebooted and did the above then the del at the command prompt. It still took a few mins to do but at least it wasn't hours.
hth