How to be informed/notified of registry modifications
-
great :) with this i can do my 2 snapshots (are they .reg files ?) but how to compare and extract differencies from the 2 snapshots ?
Alexandre GRANVAUD wrote:
(are they .reg files ?)
That's determined by the second argument.
Alexandre GRANVAUD wrote:
but how to compare and extract differencies from the 2 snapshots ?
The same way you would compare any two files. For a quick & dirty approach, you could capture the output of fc.exe.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Alexandre GRANVAUD wrote:
(are they .reg files ?)
That's determined by the second argument.
Alexandre GRANVAUD wrote:
but how to compare and extract differencies from the 2 snapshots ?
The same way you would compare any two files. For a quick & dirty approach, you could capture the output of fc.exe.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
fc.exe is it included in windows ?
-
fc.exe is it included in windows ?
As far as I know, it's part of the standard installation.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
As far as I know, it's part of the standard installation.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
nice :) but the second argument you mentionned is just the filename not the fileformat, i'd need text file format (like .regs are)
-
nice :) but the second argument you mentionned is just the filename not the fileformat, i'd need text file format (like .regs are)
Alexandre GRANVAUD wrote:
i'd need text file format (like .regs are)
Which is what
RegSaveKey()
does.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Alexandre GRANVAUD wrote:
i'd need text file format (like .regs are)
Which is what
RegSaveKey()
does.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
no it saves a .dat file which is (i verified it with notepad) a binary file not a text file : a proprietary fileformat
-
no it saves a .dat file which is (i verified it with notepad) a binary file not a text file : a proprietary fileformat
My bad. I was thinking of the "export" feature of regedit.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
My bad. I was thinking of the "export" feature of regedit.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
oh it can interest me too ;) i'd like a commandline export feature from regedit, does it exist ?
-
oh it can interest me too ;) i'd like a commandline export feature from regedit, does it exist ?
Alexandre GRANVAUD wrote:
i'd like a commandline export feature from regedit, does it exist ?
No, regedit does not support command-line arguments.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Alexandre GRANVAUD wrote:
i'd like a commandline export feature from regedit, does it exist ?
No, regedit does not support command-line arguments.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
is there another way to extract .reg files from commandline ?
-
Alexandre GRANVAUD wrote:
i'd like a commandline export feature from regedit, does it exist ?
No, regedit does not support command-line arguments.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
Alexandre GRANVAUD wrote:
is there another way to extract .reg files from commandline ?
Other than rolling your own, not that I know of. Using the registry API, it wouldn't be that difficult. If you are considering doing this for the sole purpose of comparing two registry keys, don't bother writing to disk first. That would be just too much time. Write to some data structure in memory instead.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne