Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After a problem I've encountered with the Windows 8 Store I had to delete a system folder.

Unfortunately, inside it there's a file with invalid characters (filename as it's displayed via ls or dir):


Edit: In windows it appears as


It's located at in a rather long path:


What I have already tried without success:

  • renaming it via either File Explorer -pressing F2 doesn't work and rightclicking doesn't show the full shell extension menu (shows only the entries Open with and Send to, instead)-
  • renaming it via elevated cmd
  • deleting via File Explorer
  • starting elevated cmd and trying the del command
  • launching Cygwin as admin and trying:

    1. rm -rf *.dat
    2. mv *.dat 1
    3. find . -type f -delete
    4. rm -- *
    5. set -- 0-FileAssociation-https*
      echo "${#} file(s) found"
      (and if the above outputs "1 file(s) found", then)
      rm -i 0-FileAssociation-https*

All the above 5 attempts give:
"cannot stat/remove/delete: No such file or directory"

share|improve this question
up vote 3 down vote accepted

The solution:

  • go to task manager and kill explorer.exe
  • go to File>Run new task: cmd
  • navigate to the OP path
  • use the del command
  • then re-launch explorer.

Credit goes to user illuminÉ.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.