

Our example is for Notepad++ installed in its default location.

Simply copy and paste the following lines to a newly created text file on your desktop, save it, and rename the extension to REG, so you can import it to Windows Registry. But, we have found a way how to make this much easier and finally Associate file with no extension to a program!Īssociating file with no extension to a program So you need to do it the other way, and first launch Notepad with administrative rights and then browse to the hosts file to edit it.įor something that trivial, pretty heavy load of work. Second, files like hosts file needs administrative right to be edited/saved and for some reason (probably security), you cannot set Notepad so it's always opened with administrator rights, like you can do with other programs. option you will see that the box for "Always use the selected program to open this kind of file" is grayed out for files with no extension.

If it persists, then you can update the preference as mention in the steps above to eliminate it completely.If you frequently need to open files without file name extension in Windows, such as the hosts file or some Linux files, you might have found out that its pretty tedious work.įirst, you cannot directly associate file without extension to a program, like the obvious Notepad choice. There is maximum chance, with the updated version, the issue will not appear. The first step of troubleshooting is to update the Notepad++ editor to the latest version and check if the issue is fixed or not. The default save extension in Notepad++ is fixed in the latest version. The issue in Notepad++ save is a known issue in older versions of the Notepad++ and if you are using the latest version of Notepad++ you will not be able to reproduce the scenario. I hope the above steps fixed the extension issue while saving in Notepad++.ġ0 Awesome features of PSPad Editor for developers txt extension by default while saving any file. Once you make this change in the Notepad++ preference, the Save As dialog will have.
