20分求助C语言写注册的问题。

来源:百度知道 编辑:UC知道 时间:2024/07/02 08:57:56
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" http://www.baidu.com"

用C语言或批处理怎么写

目前我所知道的唯一的方法就是通过C语言的system()函数调用.reg文件实现。也就是说先把你的注册表代码保存为.reg文件,再编写一个C程序,用system()函数调用regedit功能就可以了