Regedit command line parameters
Import the. reg file to the registry using filename.
/S import the. reg file to the Registry (Quiet Mode)
/E export the Registry File
Example: Regedit/e filename. Reg HKEY_LOCAL_MACHINE/System
/L: system specifies system. dat
/R: User specifies user. dat
/C compression [file name] (Windows 98)
Regedit [/L: system] [/R: User] filename1
Regedit [/L: system] [/R: User]/C filename2
Regedit [/L: system] [/R: User]/e filename3 [regpath]
Where:
/L: system specifies the storage location of the system. dat file.
/R: User specifies the location where the user. dat file is stored.
Filename1 specifies the file name imported to the registry database.
/C filename2 specifies the file name that forms the registry database.
/E filename3 specifies the file name of the exported registry file.
Regpath specifies the start keyword for exporting the Registry File (all keywords by default)