Archive: passing options in shell open


passing options in shell open
Hi all, I'm trying to do the dreaded file association for my app. I have that part working. My problem is I need to pass some options to my application for it to work properly. The line below is causing an error but I can't find exactly what is being passed to my app mcvp.exe when the user double clicks on the assoicated file. Have I got the format of the reg key correct?

Cheers.

WriteRegStr HKCR "mcvp\shell\open\command" "" '"$INSTDIR\mcvp.exe" "--int demo1 --size full --vmode-mode=bleed" %1'


Try putting quotes around %1 as well.

-Stu