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.

3
  • The reason Linux's rm command works whereas other commands outside of PowerShell do not, is because Linux doesn't have a 260 character limit for file paths.
    – JW0914
    Commented Mar 13, 2021 at 14:08
  • Seeing what you did, it seems like somehow your MBR got corrupted, leaving you with a ghost folder. It shows up in explorer, but windows can't delete it. CMD's rd -s may have been able to delete it in this case too.
    – LPChip
    Commented Mar 13, 2021 at 19:58
  • I agree @LPChip. Folder creation succeeded partially probably due to a max path length violation and while I could see the folder in windows explorer I could not in any way act on it. rm -rf somehow bypasses some of the checks the other windows tools enforce and thus was able to brutally delete it.
    – noplace
    Commented Mar 15, 2021 at 8:14