Associate any unknown file type with Notepad++
Log files usually have the date of the log file as extension. You want to open them with Notepad++, but not by right-clicking the file and choosing Edit with Notepad++, but simply by double-clicking the file. Is that possible? Yes:
In the
registry, go to:
- HKEY_CLASSES_ROOT\Unknown\shell
- add a key notepad
- under notepad, add a key command
- change the command key's (Default) string value in "C:\Program Files (x86)\Notepad++\notepad++.exe" "%1"
- now change the HKEY_CLASSES_ROOT\Unknown\shell key's (Default) string value in notepad
Try to open any unknown file by double-clicking it: it's opened in Notepad++!
Tremendous!!!
source:
How to open unknown extensions with notepad (microsoft.com)
tags
extension extensions