Tutorial :How to add custom protocol to Vista “Set Associations” list?


I've registered custom protocol "xyz" on Windows Vista:

HKEY\_CLASSES\_ROOT\xyz = "URL:Extensions Protocol"    

It works OK with my application.

Open "Control Panel -> Programs -> Default Programs -> Set Associations", scroll the list to the end. Here is the list of protocols. I would like to see my custom protocol associated with my application.


If you can't find the extension you are looking for in the Set Associations, then first open Command prompt and type

assoc .abc=  

where .abc is the extension you want to associate. This will add the extension (in this example .abc) to the list of extensions in Set Associations. Then choose the program you want to use for opening files of that type in Set Associations. I haven't tested myself if this works for protocols as well but I don't see any reasons why it wouldn't.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »