You are here

equality sign in value

6 posts / 0 new
Last post
madbayer
Offline
Last seen: 7 years 8 months ago
Joined: 2017-03-21 02:18
equality sign in value

Hello,

i want to use RegistryValueWrite in the launcher.ini. The first value includes an equality sign. So the registry entry is set wrong because
the launcher is interpreting all after the equality sign as the second value.
How can i use a = in RegistryValueWrite and tell the launcher to ignore it?

thank you for help

Br madbayer

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 week 1 day ago
DeveloperModerator
Joined: 2008-07-24 18:46
Example?

If you're able to provide an example, we may be able to help better.

John T. Haller
John T. Haller's picture
Online
Last seen: 30 min 37 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Quotes

Have you tried either double or single quotes around the whole value?

HKCU\Whatever\Key\Value="This is my=value to put here"

Sometimes, the impossible can become possible, if you're awesome!

madbayer
Offline
Last seen: 7 years 8 months ago
Joined: 2017-03-21 02:18
this is the registry key i

this is the registry key i want to set:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"SIGN.MEDIA=30A945B App\\EMP\\EMP_MPP.exe"="~ WIN7RTM"

yes i tried something like this '"SIGN.MEDIA=30A945B App\\EMP\\EMP_MPP.exe"'

thanks

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 week 1 day ago
DeveloperModerator
Joined: 2008-07-24 18:46
Single quotes

You likely need single quotes in this case:

'SIGN.MEDIA=30A945B App\\EMP\\EMP_MPP.exe"="~ WIN7RTM'

madbayer
Offline
Last seen: 7 years 8 months ago
Joined: 2017-03-21 02:18
it didn't work

it always take the first eqality sign. If i do like you said i get this result:

https://picload.org/image/rlparwaa/emp2.jpg

but it should look like this:

https://picload.org/image/rlparppr/emp1.jpg

Br madbayer

Log in or register to post comments