{"image_url":null,"author_url":"https://blog.hatena.ne.jp/shikaku/","type":"rich","provider_name":"Hatena Blog","url":"https://blog.systemjp.net/entry/2016/01/08/211622","provider_url":"https://hatena.blog","blog_title":"shikaku's blog","height":"190","published":"2016-01-08 21:16:22","blog_url":"https://blog.systemjp.net/","width":"100%","categories":["wsh"],"version":"1.0","author_name":"shikaku","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2016%2F01%2F08%2F211622\" title=\"vbs\u3067\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u66f8\u304d\u8fbc\u3080 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Option Explicit On Error Resume Next Dim objWshShell ' WshShell \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 Set objWshShell = WScript.CreateObject(\"WScript.Shell\") If Err.Number = 0 Then objWshShell.RegWrite \"HKCU\\WshTest\\Test1\", \"test #1\", \"REG_SZ\" objWshShell.RegWrite \"HKCU\\WshTest\\Test2\", 2, \"REG_DWORD\" Else WScript.Echo \"\u30a8\u30e9\u30fc: \" & E\u2026","title":"vbs\u3067\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u66f8\u304d\u8fbc\u3080"}