Subscribe to my full feed.

Thursday, August 07, 2008

HowTo: Change Dreamweaver to Default HTML Editor on Windows Vista

I encountered this problem on my work PC when I went to "edit" an .html file and Word opened...

To do this, we have to edit the registry. If you are uncomfortable doing this, then please do not attempt this hack. As usual, please back up your registry before you begin hacking away, as your registry controls your entire operating system.

  1. Click start -> type "regedit" into the search box and press enter
  2. Navigate to HKEY_CLASSSES_ROOT -> .htm -> OpenWithList and verify that "dreamweaver.exe" is listed as a key. If not create it.
  3. Navigate to HKEY_CLASSSES_ROOT -> applications -> dreamweaver.exe -> shell.
  4. Create a key and name it "edit".
  5. On the default string that is within the edit key, double click on it and set the value to the following(assuming you have Dreamweaver CS3 and you installed into the default path, otherwise edit as necesary, include the double quotes) - "C:\Program Files\Adobe\Adobe Dreamweaver CS3\dreamweaver.exe", "%1"
  6. Press ok and exit regedit by hitting the x in the corner.
  7. Open IE, click tools -> internet options.
  8. Navigate to programs -> select the drop down for html editor and choose Dreamweaver. Press OK and you are all done.

1 comment:

Anonymous said...

You missed out a step.

You would need to further create a "command" key within the "edit" key, THEN change the default string in the "command" key.

If not it won't show up in the list of programs.