PDA

View Full Version : Regedit commands


Solmos
01-29-2008, 02:57 PM
Hi

Using regedit.exe can export a key registry.

Regedit.exe / E ".. Folder .. "" .. Key .. ""

But if I have to export, for example 500 different keys, I have to run 500 times regedit.exe.

The result is 500 files *.reg (renaming, and that, but what overrides) in the destination folder.

It is possible to combine these 500 files (.reg) into one file .reg?

And someone may create one .DLL function with the keys to export from registry? ( run a exe file 500 times, it consumes a lot of resources)

Thank you

EDIT: other question: it's possible export one value with regedit?

AudioSam
01-30-2008, 12:00 AM
Select the value you want.
Click File... Export

Hope this helps,
AudioSam

Solmos
01-30-2008, 07:44 AM
EXPORT WITH REGEDIT OR ONE .DLL FILE

NOT MANUALLY.............

thx

AudioSam
01-30-2008, 08:37 AM
I thought you were asking how to export one value using regedit .
Thats what I posted.

If you are wanting to put information (import) into the registry put all different keys
and values in a .txt file and then change the extension from .txt to .reg

Do you mean using AMS to get one value from the registry?
If yes, that is possible if you know the value you are trying to
get.

Thanks,
AudioSam

Solmos
01-30-2008, 01:01 PM
I am making an application for registry clean with AMS, but I need to make a system that creates backups.

Any ideas?

My application can detect a lot of failures, like creating a backup of these judgments?

TimeSurfer
02-01-2008, 03:59 AM
why not just use Registry.GetValue as outlined in ams7's help file. I believe the registry actions can achieve what your wanting.

Solmos
02-01-2008, 07:35 AM
NO!

That function of the AMS is very slow and bad.

I can not function the user, as they need to export all the information of a key, both subkeys as all the values (and all kinds of values)

Take many minutes to make that process with the AMS

This option is not valid.

Necexsito one. DLL to export files *. reg as is done with command line through regedit.exe