•        OS : Windows 10 Version 1909
  •        blog : 师万物
  •  typesetting : Markdown

在已经开启一个 注册表编辑器 的现状下,运行 regedit -m

regeditm1.png

效果

regeditm2.png

知识扩展

  • regedit在执行时,是可以追加参数的。但是,没有找到相关的帮助文档。
  • 见到一篇2007年的blog中提到 regedit 是有未公开的参数的。
  • 博主 lixianlin 在博文中提到(可是依然没有提到 -m 的用法):
Imports and exports registry files to and from the registry 
REGEDIT [/L:system] [/R:user] filename1 
REGEDIT [/L:system] [/R:user] /C filename2 
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1] 
REGEDIT [/L:system] [/R:user] /D regpath2 

/L:system Specifies the location of SYSTEM.DAT file. 

/R:user Specifies the location of USER.DAT file. filenamel Specifies the file(s) to import into the registry. 

/C filename2 Specifies the file to creat the registry from.. 

/E filename3 Specifies the file to export the registry to. regpath1 Specifies the starting registry key to export from(Defaults to exporting the entire registry). 

/D regpath2 Specifies the registry key to delete. 

参考资料

学习推荐


感恩曾经帮助过 师万物 的人。
在日常生活中会用到Windows系统,建议学习简单的使用与配置。
学有余力的话,可以了解Windows、Mac OS和基于Linux的各个发行版本的优劣势,找到适合自身发展的桌面操作系统。
欢迎关注公众号:悟为生心