请大侠帮我改写下面代码,用WriteRegStr写入注册表
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\openExeTest]
"URL Protocol"="d:\notepad.exe"
@="openExeTestProtocol"
[HKEY_CLASSES_ROOT\openExeTest\DefaultIcon]
@="d:\notepad.exe,1"
[HKEY_CLASSES_ROOT\openExeTest\shell]
[HKEY_CLASSES_ROOT\openExeTest\shell\open]
[HKEY_CLASSES_ROOT\openExeTest\shell\open\command]
@="\"d:\notepad.exe\" \"%1\""