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

This question already has an answer here:

This used to be simple to do in XP (example guide), but I can't figure out how to do it in Win7.

Currently extensionless files open by default in notepad (yes I have the show file extensions enabled).

When I try to use the Open With dialog to associate the Scite editor with such files, the Always use the selected program option is greyed out.

I've tried the XP trick of adding a . (dot) key in HKEY_CLASSES_ROOT. If I add the key OpenWithList to it, and then and a subkey scite.exe, the OpenWith context menu will show scite. But it still doesn't allow me to set it as the default viewer. Perhaps there's another registry trick I don't know of.

Note that simply renaming a file isn't always possible, for example I might be working on a foreign source code repository which has a posix-style extensionless README file.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007 windows-7 Dec 22 '14 at 19:38

This question was marked as an exact duplicate of an existing question.

up vote 0 down vote accepted

Use the Program Default Programs Editor to associate files to programs:

enter image description here

enter image description here

share|improve this answer
Thanks. The way this worked out was: File Types Settings > Context Menu > (then select the "." file extension, or the user should add it), (then there should be an Open command listed, or the user should add it) > Edit Selected Command > and then hit browse to your application. Then hit next, and then "Set selected command as default". – Andrej Mitrović Mar 16 '13 at 22:05
Thanks Andrej. This is the only way I found to make it work in Windows 8. – Julius May 26 '13 at 23:38
Just as a side-note, an already existing SU answer turned out to be easier to use: – Andrej Mitrović Aug 28 '13 at 16:23
This answer doesn't answer the question, just gives a couple of screenshots. The response by @Andrej was the most helpful. – Jake Nov 7 '13 at 6:43

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