You don't need to reinstall windows or anything super complicated like that.
Here's what you need to do. (Note that this also works for the filename too long to delete problem)
Using the following commands in an elevated command prompt, make a new empty directory and use it to overwrite the...