如何通过.reg文件来修改注册表键和子键以及键值
无废话, 直接上例子, 自己运行一下便知. 然后根据自己需要改改就可以随便用了.
添加key, subkey, 和设置键值的例子.
====================
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Yunlong] "Mysubkey1"=dword:fffffffe "Mysubkey2"=dword:c0000001 "MyStrSubkey"="@C:\\Windows\\System32\\inetcpl.cpl,-6008"
删除子键的例子.
====================
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Yunlong] "Mysubkey1"=dword:fffffffd "Mysubkey2"=-
删除key的例子.
====================
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE] [-HKEY_LOCAL_MACHINE\SOFTWARE\Yunlong]
参考资料
====================
How to add, modify, or delete registry subkeys and values by using a .reg file