How to delete folders recurisvely with long names
Do you have an issue where there are hundred/thousands of folders inside more folders which you are unable to delete due to the filenames being too long.
Solution:
robocopy c:\purge d:\deleteme /purge
Where “d:\deleteme” is the infinite loop path you wish to delete
Make sure to create a blank folder named “purge” in c:\ as mentioned above.
Did our article help you? Here are some ways you can help us.
Have a look at our IT Tech Tool Kit List, need ideas on what to buy? I have listed my top 30 tools here.
2 Comments
Ronald
You can use Long Path Tool to solve the problem of deleting files and folder with long filename. It is very useful to solve such type of problem.
admin
Thanks Ronald!