How to get rid of folder containing just three dots [...] (pointing to its parent folder)
This can only happen if the NTFS data structures get confused, causing a folder to be its own ancestor. It's possible that a driver is at fault. The drive itself could be failing, or the corruption might just be from a cosmic ray.
One job of the chkdsk
utility is to clean up folders that literally contain themselves - cycles within the folder structure. (Source.) Since chkdsk /?
states that /C
skips the checking for cycles, it can be inferred that the normal behavior is to repair them.
Run chkdsk /f D:
in an elevated command prompt to fix the problem, along with any other inconsistencies. The volume will have to go offline during the repair. If it is the boot volume, you'll need to reboot after scheduling the disk check.
Solved this by my co worker, sadly I closed the cmd before realizing it.. I'll write the things I remember..
My CoWorker got the "..." directory in root of C: So I tried these:
dir "C:\...\"
And a empty directory was shown. So a
rmdir "C:\...\"
deletes the directory
A bit Background:
Windows File-IO APIs call at first a file name check. And a "..." was interpenetrated as ".." - so, go a director up. Try thyping in Exporer "C:\Windows..\ProgramData". (FYI: In the API is mentioned: If the filename beginns with "\?\", the check is disabled and Such directories can be accessed: Because it turns off automatic expansion of the path string, the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path.
But this is information for a programmer.)
Edit:
Because of the discussion "Fit this answer to the question?":
I've tested it. Created a directory. This is how it looks like in Explorer:
And this is what you see with "dir":
So: The directory is empty, but Explorer is showing "wrong" information. This is not a conflict considering how the Windows API works: The File API tries to do interpretation of the file / directory name. So move a directory up, if there is a "..", etc. That is what you see in the explorer view. In the cmd I tried to find a string forcing the Windows API no doing a interpretation.
On how a ...
folder could be created: I accidentally created one using 7-zip (18.05) by defining an archive name ...\filename.7z
.
Fortunately, the directory could be renamed with 7-zip and subsequently deleted.