I have a situation where I need to set a default registry setting (type REG_SZ ) and have it include double-quotes and a percent sign - wceload.exe "%1"
Here's how I have it setup;
HKCR,cabfile\Shell\Open\Command,,0x00000000,wceload.exe "%%1"
Everything builds ok, but cabwiz strips the double-quotes away and I do not know how to make them stay ( )
Is there a cabwiz command or escape sequence to allow this

Cabwiz and Registry Settings: trying to add double-quotes to data
tattoo
Christopher - you rock!
Now, what I'd really like to know is how you knew this
I can't find any documentation relating to cabwiz that described this.
Thanks for the reply
- James
BigErn782
Hi James,
To place quote marks within your registry values you must escape the quote marks. cabwiz does this by placing two quote marks in a row, i.e. in your example you would want to change it to become:
HKCR,cabfile\Shell\Open\Command,,0x00000000,wceload.exe ""%%1""
Notice that I have added two additional quote marks (shown in red).
Although it is not related to your specific problem I thought I would also mention that if you utilise Visual Studio's smart device CAB deployment projects you must also provide this escaping in values you enter via the Registry tab. Visual Studio behind the scenes simply builds an INF file which it passes to cabwiz, and unfourtantly it does not provide default escaping for quote marks etc.
Hope this helps,
Christopher Fairbairn