exporting from the registry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm looking to export part of the HKEY_CLASSES_ROOT from the registry.. i'm
already using regedit /e c:\CLASSES_ROOT.txt "HKEY_CLASSES_ROOT" but its not
specific enough (that gets me the entire section of the hive)... what i'm
looking to do specifically, is export only the file associations thats
contanied in CLASSES_ROOT.
 
sam said:
I'm looking to export part of the HKEY_CLASSES_ROOT from the registry.. i'm
already using regedit /e c:\CLASSES_ROOT.txt "HKEY_CLASSES_ROOT" but its not
specific enough (that gets me the entire section of the hive)... what i'm
looking to do specifically, is export only the file associations thats
contanied in CLASSES_ROOT.

Launch regedit.exe, navigate to the key you wish to export,
then click File / Export.
 
If i did that, I would have to do it tons of times.. have you seen HKEY
classes root? open it and check out all the .XXX folders.. i'm looking to get
a list of those in less that 100's of right clicks.. and in an
automated/scripting method.
 
This looks like a scope creep: In your first post you mentioned
just "registry export", now it's "scripted / automated registry export"
and it also looks like you wish to apply a filter. I suggest you
lay down your requirements precisely and tell us what you mean
with "xxx folders" (seeing that there are no folders in the registry,
only branches). An example might be informative.
 
Ok.. I’m trying to export part of HKEY_CLASSES_ROOT. Specifically, file
associations that reside there. (example. Lets say you have powerpoint
installed on your PC, if that’s the case you have a .ppt branch ( I called it
a folder before) in HKEY_CLASSES_ROOT.) When I wrote my original post, I
mentioned I was already using something to export the entire CLASSES_ROOT, I
also said it wasn’t specific enough. If you look at HKEY_CLASSES_ROOT you’re
going to see tons of branches (example .323, .368, .3g2 … . avi, . exe,
..doc, .ppt, . hlp (hence the .xxx I mentioned before)… so yes, I could right
click on all the .xxx branches, right click and export. But I’m hoping you
see that because of the possible number of these branches, a faster way of
exporting the information would be cool. So I was thinking if there was a
way of doing this..it would be something on a command-line (with a few
parameters) hence, scriptable.

Sam
 
In this case I would probably knock up a little C++ program
to do the job.

If this is not an option then I would export the whole hive,
then use notepad.exe to remove a small number of keys at
the start and a large number of keys and the end of the file.
 

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

Back
Top