Thank you Brink. I had already tried regedit /?, but this was wrong and just opened the registry editor. I had not found the correct help command. Now I tried, but it does not always work
. It works when I export a full key, like
reg export HKEY_CURRENT_USER trial.reg
The operation completed successfully.
But not when I try to export a deeper subkey, and get an error as
reg export HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion trial.reg
ERROR: Invalid syntax.
Type "REG EXPORT /?" for usage.
I wonder what I am missing or if it does not actually export subkeys as I understand from the results of "reg export /?".
It would be very useful for many usages. An example is the Outlook profile for e-mail accounts settings, because it saves all accounts, passwords, etc. The usage is not limited to this, but with this I could make periodic auto-savings.