I use successfully the script below to export a single registry key to a .reg file:
Code: Select all
key = HKEY_CURRENT_USER\Software\NameOfApplication
out = %A_ScriptDir%\NameOfApplication.reg
FileRecycle, %out%
RunWait, %A_WinDir%\System32\reg.exe export "%key%" "%out%,, HIDE
This is the draft idea:
Code: Select all
key = HKEY_CURRENT_USER\Software\NameOfApplication1
key = HKEY_CURRENT_USER\Software\NameOfApplication2
out = %A_ScriptDir%\ApplicationKeysMerged.reg
FileRecycle, %out%
RunWait, %A_WinDir%\System32\reg.exe export "%key%" "%out%,, HIDE
Thank you very much!
Cadu