Importing Registry Changes

L

Larry(LJL269)

I've been doing alot of work importing IE Rules &
changing MenuDelay by making REG files & importing them
with REGEDIT using FILE > IMPORT. This raised some
doubts about how I thought IMPORT works.

If I import this file(witthout bells & whistles):
[RegistryPath1]
"DataItemName1"="DataType1:DataValue10"
"DataItemName2"="DataType2:DataValue2"

to this registry
[RegistryPath1]
"DataItemName1"="DataType1:DataValue1"
"DataItemName3"="DataType3:DataValue3"

do I get this registry?
[RegistryPath1]
"DataItemName1"="DataType1:DataValue10" <-- replaced
"DataItemName2"="DataType2:DataValue2" <-- added
"DataItemName3"="DataType3:DataValue3" <-- no change

Your help is MUCH appreciated. Thanks- bye- Larry




Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
D

Doug Knox MS-MVP

That's correct, Larry. If the value name exists, an import will replace it.
If it doesn't exist, the import will add it. If its already there, and the
import doesn't contain a matching entry, its left alone.
 
L

Larry(LJL269)

Thanks Doug for such a quick response.

In set theory, its union of 2 except it replaces in
intersection. Thats easier for me to remember!!

So if ur gonna replace OE RULES, ur first line could be
to delete RULES with itts full key name and '-'
followed by new RULES. I'm trying to auto update RULES
in dual-boot XP system.

Comments/suggestions/corrections appreciated.
Thanks- bye- Larry


On Wed, 1 Oct 2003 21:12:38 -0400, "Doug Knox MS-MVP"

|That's correct, Larry. If the value name exists, an import will replace it.
|If it doesn't exist, the import will add it. If its already there, and the
|import doesn't contain a matching entry, its left alone.


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
L

Larry(LJL269)

On Thu, 2 Oct 2003 17:53:48 +1000, "David Candy"

|dbl the files to merge

Thanks David- u mean do MERGE & then MERGE?
I'm guessing what [db] is.

Larry

Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
D

David Candy

Meant dbl click rather than File - Import.

The reg file is processed in order that it's written. So as you said, first
line

[-HKEY......
Deletes
Then subsequent lines are added.
 
L

Larry(LJL269)

OK thanks

On Fri, 3 Oct 2003 01:49:34 +1000, "David Candy"

|Meant dbl click rather than File - Import.
|
|The reg file is processed in order that it's written. So as you said, first
|line
|
|[-HKEY......
|Deletes
|Then subsequent lines are added.
||> On Thu, 2 Oct 2003 17:53:48 +1000, "David Candy"
|>
|> |dbl the files to merge
|>
|> Thanks David- u mean do MERGE & then MERGE?
|> I'm guessing what [db] is.
|>
|> Larry
|>
|> Any advice given is my attempt to show appreciation for all
|> the excellent help I've received here but I'm no MVP so it
|> may only apply NUGS. Personal attacks, nitpicking & criticism
|> of anything but content will NOT be responded to. Those
|> posters should spend their time taking the test @
|> http://www.nimh.nih.gov/publicat/ocdtrt1.htm
|


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
A

Alex Nichol

Larry(LJL269) said:
Thanks David- u mean do MERGE & then MERGE?
I'm guessing what [db] is.

He will mean double click. But if it does not appear to work, and
especially if it then opens in NotePad, try a Right click and take Merge
from the menu. A lot of people prefer to make 'Edit' the default action
(for safety) and it may be that something you have installed has done
that for you without your noticing,
 
L

Larry(LJL269)

On Fri, 03 Oct 2003 14:35:25 +0100, Alex Nichol

|A lot of people prefer to make 'Edit' the default action
|(for safety) and it may be that something you have installed has done
|that for you without your noticing,
Thx Alex. No, I made change since I'm using 1-click &
I often click when I mean to drag.

Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top