Is it possible to have a default text editor for file types that have no app associated, and especially for files without extension for which we cannot associated an app at all.
For example, double click on a file named file_without_ext, the "How do you want to open this file ?" window is opened but we can see the "Always use this app to open file" checkbox is not available, then, next time we'll have to choose again, and it does not even propose the last used app but default, we always have to click on "More apps" then scroll to the app we want to use and this is very annoying when dealing frequently with files without extension.
Then, anybody knows if there is a way, either to perform an app association for files without extension or to have a default app that is a text editor for non-associated file types (with or without extension).
Edit: as answered below, I forget to mention using notepad++ from right click is my back-up solution, I'll edit my question with that, but still, for example when opening an archive with 7zip, double clicking on a file without extension (then not associated with any app) an error message is displayed, I then have to extract it somewhere and only then I can open it with notepad++.
Edit2: thanks to @Madhubala I found the solution, at least for me opening file without extension with notepad++:
- Start the registry editor (regedit.exe)
- Move to HKEY_CLASSES_ROOT
- From the Edit menu select New -> Key
- Enter a name of '.' and press Enter (don't type the quotes)
- Select the new '.' key
- Right click and select New -> Key
- Enter a name of 'shell' and press Enter (don't type the quotes)
- Select the new 'shell' key
- Right click and select New -> Key
- Enter a name of 'open' and press Enter (don't type the quotes)
- Select the new 'open' key
- Right click and select New -> Key
- Enter a name of 'command' and press Enter (don't type the quotes)
- Select the new 'command' key
- Double click the (Default) value and set "C:\Program Files\Notepad++\notepad++.exe" "%1" (here actually with the "", changing path if you installed notepad++ elsewhere)
- Click OK
This will look like this: Registry Editor screenshot
Thanks.