

When you now open file with no extension it will by opened by the default program. When your file is ready, double click on it, to add it to your Windows Registry - and that's it.
CANT SET DEFAULT PROGRAM TO OPEN A FILE HOW TO
i know how to do it, but the check box to make the default program to open the file is grayed out and unchecked. Instead, click on Choose default program. That will use the program only this time, and will not change the default. Important: even if the program you want to use is included in the list of Open with options, do not click on it. Click on, or hover the mouse over, Open with. jar files to open in windows command processor, and now i cant change it to open in java. To change the file association, first right click on the image. where you can set it, so you can easily use it to edit system protected files like the hosts %1" Cant change default program to open my jar files I changed the default program for my. Change it to whatever text editor or other program you want files with no extension to be associated with.īecause you cannot launch Windows Notepad with administrator rights by default, it is best to pick another program like Notepad++, PSPad etc.

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. Under Open With, for each available File Type select an application. Scroll down to the Opening Integrations section.
CANT SET DEFAULT PROGRAM TO OPEN A FILE PDF
A window will appear to prompt you into choosing the preferred default PDF viewer. Highlight its row and click the 'Change program' button. It will take some time for your PC to load all your file formats. In the top of the window, click Integrations. Proceed with accessing the 'Associate a file type or protocol with a program' settings. 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 To select a default application for viewing file types: In the top-right corner of your Box window, click your account icon and select Account Settings. 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.
