I had a bug in my java app, which created a folder structure, which never ends..
So i have afolder structure like
C:/folder/folder/folder/folder/folder/.../...
Now I am not able to delete this folder anymore. Any ideas?
I had a bug in my java app, which created a folder structure, which never ends..
So i have afolder structure like
C:/folder/folder/folder/folder/folder/.../...
Now I am not able to delete this folder anymore. Any ideas?
You can try PowerShell instead of DOS. I'm sure DOS probably has a lower maximum recursion depth than PowerShell.
Remove-Item -Recurse -Force c:/folder
You can also try Robocopy.
Create a directory in c:\folder called temp
Run robocopy c:\temp c:\folder /purge
If none of that works here is another solution: https://serverfault.com/questions/230119/massive-amount-of-subfolders-and-long-subfolders-how-can-i-delete-all-of-them
Try pressing SHIFT + DEL on the root directory which will permanently delete the folder(s).
Hope that helps you :)