Gavin Lambert
unread,Jun 4, 2021, 3:29:59 AM6/4/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to inno...@googlegroups.com
On 4/06/2021 1:04 am, 'Bekudio Ich' wrote:
> I want to set a Windows registry key.
> This is nomally easy.
> My Problem is, that I need ValueData with quotation marks inside.
>
> This is what I want to set:
>
> Quotation mark as value.png
> How the syntax must be to get this?
> This will *not* work:
> ValueData: "C:\Program Files (x86)\MD5 FC 2.0\MD5 FC.exe" "%1"
Same way you do quotes everywhere else:
ValueData: """C:\Program Files (x86)\MD5 FC 2.0\MD5 FC.exe"" ""%1"""
Having said that, you should never be hard-coding the path to Program
Files. Use {app}, or use {reg:...} or {code:...} to look up the path of
a different application, or at the very least use {pf}.