Security Basics mailing list archives

Re: Tutorial on writing to Registery


From: Grzesiek Miazga <gmiazga () poczta fm>
Date: Tue, 12 Oct 2004 21:23:37 +0200

Hello Louie,

In my opinion batch file isn't necessity. Silmply a file with .reg
extension is enopugh to add values to registry without need of opening
a registry itself. Just run the .reg file with things you want to
changed and they will be automaticly added to registry.

As for the file itself that's how it is organized (inside the < > ):

<
Registry version

[Path in registry to new value]
"New_name"=value_type:new_value


If the new value type isn't defined value should be inside "".
Example file:

<
REGEDIT4

[HKEY_CLASSES_ROOT]
"Data"=dword:30ffa264
"Cookie"="EatMe"


I hope this will help you out.
Regards,
Grzegorz Miazga



----------------------------------------------------------------------
Startuj z INTERIA.PL!!! >>> http://link.interia.pl/f1837


Current thread: