Timeline for Windows 10 : cannot delete folder "The system cannot find the file specified"
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 17, 2021 at 8:57 | vote | accept | noplace | ||
Mar 15, 2021 at 8:14 | comment | added | noplace |
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.
|
|
Mar 13, 2021 at 19:58 | comment | added | LPChip |
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.
|
|
Mar 13, 2021 at 14:08 | comment | added | JW0914 |
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.
|
|
Mar 13, 2021 at 13:08 | history | answered | noplace | CC BY-SA 4.0 |