I was running a node script that went awry and created a folder structure like so:
\myfolder \myfolder \file.txt \myfolder \file.txt \myfolder \file.txt \etc.
This is nested to an extent of over 300 times, I would estimate, if not more.
del it because it is too long a file path.
I cannot use
robocopy because it actually freezes around this point: http://i.imgur.com/CzXsIHY.jpg.
I cannot use
FileAssassin as it is only for files apparently.
I have tried using the .bat script from this answer How do I delete a folder which is nested quite deep and avoid "File name too long"? , and it is still running, but I fear at the level of recursion that the folder is at even if every single subfolder was renamed to one character it would still be longer than 260 (or whatever the limit is).
How do I remove this
problem from my filesystem?
currently trying this: http://deepremove.codeplex.com/releases
Deepremove just froze, just like robocopy, at about level 2,200. Going to attempt sys restore.
Strike that, DeepRemove is still chugging along.
DeepRemove is successful! Victory! 3,421 levels of recursion. Jeesh! I'll be more careful with nodejs (or any programmatic modification of the filesystem) from now on, esp. when recursion is involved!