How to Change Default HTML Editor in Vista

Leave a comment

How do I change my default HTML editor to DreamWeaver (or something else) in Vista?
Well I have just the trick. I have made a script (based on another person’s work) that you can just download here: add_default_html_editor.vbs

Note before you start you will need administrator rights to pull this off.

Assuming that you don’t trust random scripts that you download off the internet (which is wise) then I you can do it manually. Note editing the Windows Registry by hand is dangerous and my script just automates this process. If you installed your HTML editor and it has registered correctly, there is a simple change that needs to happen in the Windows Registry. You can screw up you computer. You can do this by clicking on
Start > Run or type in this in the Start Search area >
Then type: regedit

Browse down the tree as follows
HKEY_CURRENT_USER (you can also do this on HKEY_LOCAL_MACHINE)
> Software > Microsoft > Internet Explorer > Default HTML Editor > Shell > Edit > Command >
(Default) = “C:Program FilesAdobeAdobe Dreamweaver CS4Dreamweaver.exe” “%1”

Then right click on (Default) and Modify… the value to what every you want in quotes with a space followed by “1%”
regedit example

If you browse to Internet Explorer and you do not see the next Key then you can just add it by right clicking on Internet Explorer and clicking Key. Then type in the name of the Key exactly as it is written above. For example: Default HTML Editor
regedit example
Wash, rinse and repeat with all of the others until you finish with Command. Then right click on Command, click New > String Value. Add the life location like this: “C:Program FilesAdobeAdobe Dreamweaver CS4Dreamweaver.exe” “%1”

Note: Changes to this registry value should take effect immediately.

Here is Microsoft’s take on it:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s