views:

30

answers:

0

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 !