Registry Keys Equal?

L

Larry(LJL269)

I'm tweaking my folder rt-clk menu & it seems that some keys are = ( a
change in anything in 1 causes exactly same change in the other ):

HKEY_CLASSES_ROOT\Directory\shell =
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell
&
HKEY_CLASSES_ROOT\Folder\shell =
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell

So I can tweak either 1?

I'm asking cause all I checked was effect of changing rt-clk text (
Data entry in HKEY_CLASSES_ROOT\Directory\shell\opennew which has
Name=(Default) TYPE=REG_SZ Data=Open New &Window )

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 (Normally, Usually, Generally, Sometimes :)
 
A

Ayush

Larry(LJL269) wrote ::
I'm tweaking my folder rt-clk menu & it seems that some keys are = ( a
change in anything in 1 causes exactly same change in the other ):

HKEY_CLASSES_ROOT\Directory\shell =
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell
&
HKEY_CLASSES_ROOT\Folder\shell =
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell

So I can tweak either 1?

HKCY_CLASSES_ROOT is just a pointer to -
" HKEY_CURRENT_USER\SOFTWARE\Classes "
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes "

that means :
CURRENT_USER\Software\Classes + Local_Machine\Software\Classes = Classes_Root

so if you change something in HKCU\Software\Classes or
HKLM\Software\Classes then the value in HKCR\Software\Classes will also change.


Good Luck, Ayush.
 
L

Larry(LJL269)

Greetings Ayush & thank you for your response.

that means :
CURRENT_USER\Software\Classes + Local_Machine\Software\Classes = Classes_Root
Does + mean union(or) as in set theory or does + mean 'merge'
operation used with a REG file.
so if you change something in HKCU\Software\Classes or
HKLM\Software\Classes then the value in HKCR\Software\Classes will also change.
So to change key name, data,.. I should NOT change HKCR but rather
HKCU or HKLM ?

I've got folder rt-clk menu the way I want it on my experimental XP so
I'm trying to export the smallest possable key, & import it preceeded
by a del key command. Right now the REG files begin with lines like:

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\shell]
[HKEY_CLASSES_ROOT\Directory\shell]
@="none"
[HKEY_CLASSES_ROOT\Directory\shell\a_opennew]
@="Open New &Window"
[HKEY_CLASSES_ROOT\Directory\shell\a_opennew\command]
@="explorer.exe \"%1\""

Which puts 'Open New Window' 5th from top. There is an entry for each
subkey of HKEY_CLASSES_ROOT\Directory\shell.

Your saying tho that I should have REG file exported from 1 XP for
both HKLM\SOFTWARE\Classes\Directory\shell &
HKCU\SOFTWARE\Classes\Directory\shell and then import them both.

Your help & patience is MUCH appreciated. Thanks- bye- Larry






Any advice is my attempt to contribute more than I have received but I can only assure you that it works on my PC. GOOD LUCK.
 
L

Larry(LJL269)

http://snipurl.com/Win_Registry was very helpful & says 'If the
values of entries in the two Classes subkeys conflict, only the value
in HKEY_CURRENT_USER\SOFTWARE\Classes appears in HKEY_CLASSES_ROOT'
which may explain why changes in the past were not effective. I knew I
was missing something!

It also explains what happens if you create a new key or subkey in
HKEY_CLASSES_ROOT so now I see why u make changes there. Up to now I
ignored what key I found some text from rt-clk menu.

Your help is MUCH appreciated.
Thanks- bye- Larry


Ayush wrote ::


and
http://snipurl.com/Win_Registry

Good Luck, Ayush.

Any advice is my attempt to contribute more than I have received but I can only assure you that it works on my PC. GOOD LUCK.
 
L

Larry(LJL269)

Copied 2 shell subkeys of HKCR from 1 XP to another with only 1 hitch:
2 apps r in different partition in 1 XP vs other. Easily fixed tho.

TY 4 ur patience & help. I use folder rt-clk menu alot & the new names
+ new order is big improvement.

Thanks again- Larry


No, change it in HKCR

Any advice is my attempt to contribute more than I have received but I can only assure you that it works on my PC. GOOD LUCK.
 

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