Undeleteable endless folder
today, while cleaning up my data drive, I came across an endless folder tree… I am not sure if that’s normal, a bug or what exactly. So Whenever I tried to delete it, it won’t delete (ignores my command) or shows up a message saying: cannot delete optional, the file you specified is not valid or too long.
Tried to google up that but no luck.
Then, I used a tool from TuneUp Utilities called TuneUp Shredder, works like Evidence Elemenator. It didn’t work.
I went to the lowest folder I could reach in the directory and deleted its contents, and it worked, so I kept deleting other folders in the same directory, but at some point the deletion again stopped working.
What I did then is running the command window “right-click > run command here” and typed
del * (enter)
“are you sure? [Y/N]”
yes (enter)
CD .. (repeatedly, changed directory to parent)
del * (enter again)
And when this stopped working, nothing but a command called Remove Directory (RD) could work. I entered the command:
rd /s build (build is the name of the annoying folder, /s to remove all sub folders)
& voila! I reclaimed 33 MB of free disk space.