Link to home
Start Free TrialLog in
Avatar of waxman2
waxman2

asked on

Registry Manipulation

Hello

I'd like to copy a registry key. I tried to use the movekey command from Borlant C++ Builder but I can't copy from a root key to another.

ie I'd like to copy a key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER

How could I do ????????????
Help me please, thanks

Waxman
Avatar of MichaelS
MichaelS

Do you think that your question is 50 times easie than an easy one? On that site the easy question worth 50 points
What about giving more points fore the question ......
What about giving more points for the question ......
ASKER CERTIFIED SOLUTION
Avatar of AlexVirochovsky
AlexVirochovsky

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of waxman2

ASKER

--> Alex

You're right, it is the method I used. But there is over 60 values in this key
So, I can't do it one after one

Actually, I decided to use
 for (n=1;n<='number of value in the key';n++)

it's a bit easier.......
>>it's a bit easier
Well, you are right, and I don't see easier
method. Of course, you can use direct Windows Api
for work with registry, but it is more complex.
Now, is I reply tou your Q?