Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Did you try to delete the containing folder? I mean choose a folder up in the tree with a path shorter than the maximum length and remove that one using the command prompt.
    – FluidCode
    Commented Mar 13, 2021 at 11:54
  • have you tried from the command line using the format: del "\\?\C:\test\1" for example. Commented Mar 13, 2021 at 12:01
  • 1
    Does this answer your question? How to delete a file with a path too long to be deleted (do note, you can easily use my answer in this question to delete folders too.)
    – LPChip
    Commented Mar 13, 2021 at 12:23
  • Tried everything I could think of and everything I found as a suggested solution. I tried renaming folder and parent folders. I moved it to shorten as much as possible the full path but the folder itself cannot be renamed or deleted in any way. I tried taking ownership of the folder and tried changing ACLs for it. Nothing, every operation fails with the same “The system cannot find the file specified” notification.
    – noplace
    Commented Mar 13, 2021 at 12:50
  • @HelpingHand no. As said I was able to shorten the full path to a single parent folder but anything else fails including deletion attempts from cmd or UI.
    – noplace
    Commented Mar 13, 2021 at 12:52