Post a reply to the thread: Trying to put a '%' in a registry value
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Trying to put a '%' in a registry value Thanks for the update. Yes, %% is the correct way to handle this. Friedrich
Re: Trying to put a '%' in a registry value
Re: Trying to put a '%' in a registry value Originally Posted by Adam Shaw I am trying to put a string into a registry value with the 'Create/Update Key and Value' command and running into problems. I have a string ("C:\Program Files (x86)\Some.exe" Parm1 "%1") that keeps throwing a syntax error. GEN1077 Syntax Error (1) Is there any way to escape this percent sign, or another method to achieve my goal? Thank you! I had a colleague tell me, it's 2 percent signs: %%
Trying to put a '%' in a registry value I am trying to put a string into a registry value with the 'Create/Update Key and Value' command and running into problems. I have a string ("C:\Program Files (x86)\Some.exe" Parm1 "%1") that keeps throwing a syntax error. GEN1077 Syntax Error (1) Is there any way to escape this percent sign, or another method to achieve my goal? Thank you!
Trying to put a '%' in a registry value
Forum Rules