Saves specified values, entries, and subkeys to a file.
reg save key filename
Parameters
Parameter
Purpose
key
Specifies the path of the subkey.
filename
Specifies the name and path of the file that will be created.