![]() ![]() 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 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.
0 Comments
Leave a Reply. |