1. Export Registry
Format: regedit/l:system/r:user/e filehttp://www.aliyun.com/zixun/aggregation/11696.html ">name.reg Regpath
Meaning:/L system Specifies the path to the System.dat file
:/R user Specifies the path to the User.dat file
: E filename.reg Specify table editor to export to that reg file
Regpath: Specifies which registry branch to export and, if omitted, exports the entire registry
2. Import Registry
Format: Regedit/l:system/r:user
Meaning: Ditto
3. Rebuilding the Registry
Format: regedit/l:system/r:user/c File.reg
Meaning: Rebuilds the registry with the specified registry file
4. Delete Branch
Format: regedit/l:system/r:user/d Regpath
Meaning: All the same, is to delete the specified branch/d regpath, if you delete the entire registry
5. Restore the Registry
Use Scanreg.exe to check, back up, restore, repair registry
Format: Scanreg []
Parameter/backup: While backing up files associated with the registry (such as User.dat,system.dat,win.ini, placed in Sysbackupgh (file name RB--?. Cab)
/resore Select a backup file to restore the registry (it can only be used in pure Dos)
/fix Repair of damaged registry (it can only be used under pure Dos)
/comment= " " adds some detailed comments to the cab (in ",") in the backup registry.