The Computer Oracle

How do I associate .htm's Edit option with Notepad in Windows 7?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping

--

Chapters
00:00 How Do I Associate .Htm'S Edit Option With Notepad In Windows 7?
00:45 Accepted Answer Score 12
01:09 Answer 2 Score 6
01:34 Answer 3 Score 4
01:49 Answer 4 Score 1
02:45 Answer 5 Score 0
02:55 Thank you

--

Full question
https://superuser.com/questions/98221/ho...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #windows

#avk47



ACCEPTED ANSWER

Score 12


To change it without using 3rd party software:

Open Internet Explorer. Go to Tools > Internet Options. Select the Programs tab. Change the 'HTML Editing' option to whatever you want to use (e.g. Notepad).




ANSWER 2

Score 6


Reccommending Default Programs Editor for this, because along with many other features, it was designed for Vista/Windows 7 and plays nice with UAC.

The context menu editor is quite powerful, allowing you to add or edit context menu items without hassle:

Context Menu Editor

Additionally, it allows you to remove that 'default programs' association that Windows won't let you un-check:

Uncheck default programs




ANSWER 3

Score 4


I've used FileTypesMan on several occasions and it has performed as expected (opening in its own window but performing the same task)




ANSWER 4

Score 1


the problem here is not file association, unless you want to associate Notepad as the default program to open all HTML files (rather than your web browser).

i recommend this method instead:

1. Enter the program's executable name (notepad.exe) as a subkey of these two registry key's shown below:

[HKEY_CLASSES_ROOT\.htm\OpenWithList\notepad.exe]
[HKEY_CLASSES_ROOT\.html\OpenWithList\notepad.exe]

2. And add an "edit" subkey here:

[HKEY_CLASSES_ROOT\Applications\notepad.exe]
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell]
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\edit]
[HKEY_CLASSES_ROOT\Applications\notepad.exe\shell\edit\command]
Default = C:\WINDOWS\notepad.exe "%1"

3. To change the default editor, replace the "Default" entry in this registry key with the command line for your prefered editor:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor\shell]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor\shell\edit]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor\shell\edit\command]
Default = C:\WINDOWS\notepad.exe "%1"



ANSWER 5

Score 0


Creative Element Power Tools includes a File Type Doctor program that can do it...

alt text