Need to pass the registry path along with launch parameter ...

Posted by velusbits on Stack Overflow See other posts from Stack Overflow or by velusbits
Published on 2010-04-13T18:14:28Z Indexed on 2010/04/13 18:33 UTC
Read the original article Hit count: 244

Filed under:
|
|
|

I have a situation that demands, passing the registry path as a parameter for application launch, say I have IE as default launcher for http types HKEY_CLASSES_ROOT\http\shell\open\command\ Default = iexplore %1

Any shell launch of a URL would invoke iexplore <<"URL String">>.

My requirement is additionally pass the registry path as parameter, so when a launch happens (note no change in the launch) iexplore <<"URL String">> should translate into something like

iexplore <<"URL String">> "HKEY_CLASSES_ROOT\http\shell\open\command\"

How should my registry key HKEY_CLASSES_ROOT\http\shell\open\command\ modified so as to get the extra registry path appended for all shell launches ?

Any idea is appreciated, Thanks !

© Stack Overflow or respective owner

Related posts about Windows

Related posts about registry