Allows you to export all subkey and value contents to a file.
Example
Running this code will export the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", saving it as "export_X64.reg".
plugin command("OS Automation.dll", "registry export", "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", "{$special folder("Application")}\\export_X64.reg", "True")