Reputation: 19325
I am following this example by Microsoft to register an application with a web protocol.
By adding this key: shell/open/command/(Default) = "C:\Program Files\Alert\alert.exe" "%1"
I am able to pass in a single parameter. How do I pass in many parameters, separated by a delimiter (say a space)? I have tried this but it doesn't work:
shell/open/command/(Default) = "C:\Program Files\Alert\alert.exe" "%1" "%2" "%3"
Upvotes: 0
Views: 958
Reputation: 726
Try shell/open/command/(Default) = "C:\Program Files\Alert\alert.exe" "%1" %*
Upvotes: 0
Reputation: 28583
It looks like the OS will only pass one parameter: the clicked URL.
If you need more information, perhaps you could encode it in the URL itself?
Upvotes: 2