2003-12-18, 09:47 PM
If you need to change Registry entries using batch files or other automated scripts, you can use REG files. Create REG files by using the Registry/Export Registry File option in RegEdit. Generally, you'll want to export only the smallest subtree of the Registry that you need. To restore the exported values to the Registry from a batch file, use the command line regedit/s myfile.reg.