Registering a protocol handler in Windows 8

后端 未结 3 1924
无人及你
无人及你 2020-12-05 15:31

I\'m trying to register my application that will handle opening of links, e,g, http://stackoverflow.com. I need to do this explicitly for Windows 8, I have itworking in ear

3条回答
  •  醉话见心
    2020-12-05 15:39

    Side note since this is a top answer found when googling this kind of an issue: Make sure the path in the shell command open is a proper path to your application. I spent an entire day debugging issue that seemed only to affect Chrome and Edge on Windows 10. They never triggered the protocol handler while Firefox did. What was the issue? The path to the .bat file used mixed \ and / slashes. Using only proper \ slashes in the path made Edge & Chrome suddenly able to pick up the request.

提交回复
热议问题