Wednesday, June 17, 2009

How to add keys and values from the registry

How to add keys and values from the registry


How to add keys and values from the registry
Create a text file like this
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SomeKey]
"SomeStringValue"="Hello"

When double clicking this .reg file the key and value will be added.
Alternatively run REGEDIT MYKEY.REG from the command line.