c:\> regedit /E <path><filename.reg> <regpath>
where <path><filename.reg> is the location of the output .reg file
<regpath> is the registry path to export from
example
regedit /E C:\temp\test.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|