Can't delete folder (in Windows 10) that contains special character [duplicate]

Solution 1:

OK, I have found a solution by looking here: https://superuser.com/a/72296/527934.

You can use the 8.3 name to delete the folder like so:

dir /x (to get the 8.3 name)

rd /s /q <8.3 name> (in my case the 8.3 name was STILLE~1)

I just wonder why Windows does this...

If anyone knows the internals of it, provide a more extensive answer (probably together with the above solution text) and I will mark it as correct.

And the problem Windows has is the double dots ... It seems that you cannot have those in a folder name, since it is a wildcard for folder up : https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx