Take the 2-minute tour ×

I would like Windows automatically open a web page on the default browser with a parameter as part of the URL such as "http://MyDomain/MyApp.asp?P1=MyParameter" when a user type in something like "MyURL:MyParameter" in the RUN box. Is it possible?

share|improve this question
add comment

1 Answer

Registering an Application to a URL Protocol. In the url handler application, compose a new url based on the incoming url, then call ShellExecute with the url.

share|improve this answer
Is it possible that we directly use the default browser to handle the URL by only changing the Windows Registry such as: –  Toronto Dec 15 '11 at 17:13
which "the url" you are talking about? the browser is already capable of handling http but is not capable of handling MyUrl as it neither registers nor understands the url. –  Sheng Jiang 蒋晟 Dec 15 '11 at 17:41
add comment

Your Answer


