Windows Tips

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.

Buy me a coffeeBuy me a coffee

No votes yet.
Please wait...

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.

    No votes yet.
    Please wait...
    • admin

      Thanks Ronald!

      No votes yet.
      Please wait...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.