regedit /e Filename.reg regkey
To export a registry key, add the specific location to the command such as:
regedit /e c:\output.reg
regedit /e Filename.reg regkey
To export a registry key, add the specific location to the command such as:
regedit /e c:\output.reg