I've got a bunch of folders that upon trying to browse into them, say "<directory> refers to a location that is unavailable"
. In Process Monitor, I see that the actual error code is NAME_NOT_FOUND
-- but they are present.
chkdsk
finds no errors in the filesystem.- Neither are they junctions or symbolic links (checked by installing the Link Shell Extension)
I've noticed that the names have a common trait:
- they all have a dot at the end
- in the past, I experienced the same with file/directories with broken names like in the picture:
What's happening here and how do I fix this?
How to delete a file ending in a dot in Windows 7? offers ways to delete it, but that's not acceptable 'cuz I need the contents.
- Unlike
del
suggested in that question,rename "<directory>" "<smth else>"
produces the same"File not found"
. - Neither
\\?\<path>
works (same error).