regsamp
asked on
Trying to copy code into registry and it changes
Trying to copy code from a Notepad file into a registry key and it keeps turning into the code below. How can I keep the original format that is in the attached file?
A6S52-01C0000-GG000GM
131599125
2639482340
cr-ent.txt
A6S52-01C0000-GG000GM
131599125
2639482340
cr-ent.txt
Using the " "
ASKER
I tried using the " " and the code still changes.
What is the full path to the registry key you are trying to add/edit?
HKLM - Software - ???
HKLM - Software - ???
Can you please post the actual .reg file?
ASKER
I am trying to get access to the computer to get the full path for the registry. The actual code I want to use is in the attachment.
ASKER
The path is Local Machine/Software/Crystal Decisions/9.0/Crystal Reports/Keycodes/CR Ent
Try the attached reg file. I've tried it and seems to work fine.
code.reg
code.reg
One sec.....is it a new string value you're adding?
The above reg file adds the code a DWORD value.
The one attached to this post adds it as a new String Value (named: code). You can change the name (Code) by opening the reg file with notepad and changing the name.
code2.reg
The one attached to this post adds it as a new String Value (named: code). You can change the name (Code) by opening the reg file with notepad and changing the name.
code2.reg
ASKER
Ivanoviola, I am trying to add this value. The one I listed above is what it turns into and I do not want to add that. This is a new string. The attachment below is the value I needed added unchanged.
clip-image002.jpg
clip-image002.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Okay, thank you and let me try that.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
line 1 for doing it locally, or line 4 for doing it from a remote machine. note lines 6 and 7 too.
ASKER
Thank you for the command line approach bryon.
"1A6S52-01C0000-GG000GM131