title: Regedit file format
body: <p>I would like to document the file format of regedit utility, so data can be merged into the registry. </p>
  
  <p>From the command-line you can (silently) merge data from a batch file like this:</p>
  
  <pre><code>regedit /s file.reg
  </code></pre>
  
  <p>Exporting from a subkey goes like this:</p>
  
  <pre><code>regedit /e file.reg "HKEY_XX\key"
  </code></pre>