Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I would like to associate a text reader to extentionless files in Windows 8. On Windows 7, the steps to make that happen are described here: How to associate extensionless files in Windows 7? However, I have not made these steps work on Windows 8 successfully.

I would greatly appreciate if someone could show me how to do that.

What I have tried (that didn't work) :

  • I have added a "." key in HKEY_CLASSES_ROOT, and associated default to my application, namely sublime_text. The value I put is "C:\Program Files (x86)\Sublime Text 2.0.1 x64\sublime_text.exe".

  • I also tried putting assoc .="No Extension" ftype "No Extension" = "C:\Program Files (x86)\Sublime Text 2.0.1 x64\sublime_text.exe" "%1" in an admin shell, still to no success.

  • [**See edit further down] I also tried, which successfully changed the icon of extentionless files with the icon edition part, but which had no effect on the actual opening of files.

  • Finallly, I tried Windows 8's Default program editor. In the association menu, having created a value in HKEY_CLASSES_ROOT, I could see an entry for the "." format, but when I tried to modify the value associated to that entry, the thing that's supposed to happen, namely, the popping of the association menu, did not happen. In fact, nothing happend.

Edit: As mentioned in my own answer, ended up working. You just really need to click "Set selected command as default" before saving your association. Thanks to Andrej. Link to his comment.

share|improve this question
Could you describe what you've already done and/or what exactly isn't working? – Nicholas Cole May 26 '13 at 23:14
Added what I tried to the question's body. – Julius May 26 '13 at 23:27
up vote 1 down vote accepted

Turns out Andrej's comment in the original question did the trick : Link to Andrej's comment.

With, you really need to click on "Set selected command as default" before saving, or the association will not work.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .