Sometimes we face problem while try to delete directories or files having too long path in Windows Operating System.

So in this tutorial I will tell you few simple steps by which you can delete directories or files having too long path in Windows Operating System.You do not need to use any special tool for deleting the file or folder.

Please follow these simple steps

  1. Create an empty folder called “test” or any name as you wish on C or D or any other drive.
  2. Use following DOS command to delete the too long name directories in cmd prompt
    • robocopy /MIR c:\test D:\Folder\FolderToDelete > NUL
  3. The directory FolderToDelete will be emptied and you can delete it then
  4. You can delete test directory any time

D:\Folder\FolderToDelete is the directory you want to delete.

Thanks for reading.

Software Professional, I am passionate to work on web/enterprise application. For more information please go to about me. You can follow on Twitter. You can be a friend on Facebook or Google Plus or Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.