Page is a not externally linkable
kaled - 3:37 pm on Oct 11, 2010 (gmt 0)
Try the following, however, if .htm and .html are already assigned in the registry, making arbitrary changes may break existing functionality. To avoid this, I would suggest working with the registry directly - see [alanphipps.com...] this should allow to to make additions to existing settings rather than break existing settings.
Also, I don't use notepad++ so the /p switch may not work and I am not certain that .ICO files can be used to specify an icon in this way.
Kaled.
REGEDIT4
[HKEY_CLASSES_ROOT\.htm]
@="HTMLFile"
[HKEY_CLASSES_ROOT\.html]
@="HTMLFile"
[HKEY_CLASSES_ROOT\HTMLFile]
@="HTML File"
[HKEY_CLASSES_ROOT\HTMLfile\DefaultIcon]
@="C:\Extension Ico\HTML.ico"
[HKEY_CLASSES_ROOT\HTMLfile\shell\edit]
@="Edit with Notepad++"
[HKEY_CLASSES_ROOT\HTMLFile\shell\edit\command]
@="C:\Program Files\Notepad++\notepad++.exe %1"
[HKEY_CLASSES_ROOT\HTMLFile\shell\print_nppp]
@="Print using Notepad++"
[HKEY_CLASSES_ROOT\HTMLFile\shell\print_nppp\command]
@="C:\Program Files\Notepad++\notepad++.exe /p %1"