{"id":1143,"date":"2011-12-28T09:37:57","date_gmt":"2011-12-28T00:37:57","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=1143"},"modified":"2011-12-28T09:37:57","modified_gmt":"2011-12-28T00:37:57","slug":"%e6%96%87%e5%ad%97%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%a6url%e3%82%a8%e3%83%b3%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e8%a1%8c%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=1143","title":{"rendered":"\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066URL\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u884c\u3046"},"content":{"rendered":"<p>\u672c\u984c\u306b\u5165\u308b\u524d\u306b\u307e\u305a\u306f\u4e0b\u8a18\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30fb<a href=\"http:\/\/dirtysexyquery.blogspot.com\/2011\/10\/64officeurl1.html\" title=\"64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe11\" target=\"_blank\">64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe11<\/a><br \/>\n\u30fb<a href=\"http:\/\/dirtysexyquery.blogspot.com\/2011\/10\/64officeurl2.html\" title=\"64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe12\" target=\"_blank\">64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe12<\/a><br \/>\n\u30fb<a href=\"http:\/\/dirtysexyquery.blogspot.com\/2011\/10\/64officeurl3.html\" title=\"64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe13\" target=\"_blank\">64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe13<\/a><\/p>\n<p>\u4e0a\u8a18\u30a8\u30f3\u30c8\u30ea\u30fc\u306f\u3001\u79c1\u304c\u66f8\u3044\u305f\u300c<a href=\"\/\/www.ka-net.org\/office\/of32.html\" title=\"64\u30d3\u30c3\u30c8\u74b0\u5883\u3067\u306eScriptControl\u306e\u4ee3\u308f\u308a\" target=\"_blank\">64\u30d3\u30c3\u30c8\u74b0\u5883\u3067\u306eScriptControl\u306e\u4ee3\u308f\u308a<\/a>\u300d\u3084\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=220\" title=\"64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\" target=\"_blank\">64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f<\/a>\u300d\u3068\u3044\u3063\u305f\u8a18\u4e8b\u3092<a href=\"http:\/\/www.f3.dion.ne.jp\/~element\/msaccess\/\" title=\"YU-TANG's MS-Access Discovery\" target=\"_blank\">YU-TANG<\/a>\u3055\u3093\u304c\u3055\u3089\u306b\u6df1\u304f\u6398\u308a\u4e0b\u3052\u3066\u304f\u3060\u3055\u3063\u305f\u3082\u306e\u3067\u300164\u30d3\u30c3\u30c8\u74b0\u5883\u4e0b\u3067\u306eURL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u3092\u3001\u3044\u304b\u306b\u3057\u3066\u81ea\u5206\u3067\u66f8\u304b\u305a\u306b\u5b9f\u88c5\u3059\u308b\u304b\u304c\u8a73\u3057\u304f\u307e\u3068\u307e\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u30a8\u30f3\u30c8\u30ea\u30fc\u306e\u4e2d\u3067\u7279\u306b\u6ce8\u76ee\u3057\u305f\u3044\u306e\u304c\u300c<a href=\"http:\/\/dirtysexyquery.blogspot.com\/2011\/10\/64officeurl3.html\" title=\"64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe13\" target=\"_blank\">64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe13<\/a>\u300d\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u3001PowerShell\u7d4c\u7531\u3067.NET\u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u3002<br \/>\n\u4eca\u56de\u306f\u3053\u308c\u3092\u5143\u306b\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066URL\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u884c\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059(VBScript)\u3002<br \/>\n<!--more--><\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nMsgBox EncodeURL(&quot;\u3042\u3044\u3046\u3048\u304a&quot;, &quot;euc-jp&quot;)\r\n\r\nPrivate Function EncodeURL(ByVal TargetString, ByVal CodeName)\r\n  Dim Cmd\r\n  \r\n  'PowerShell\u306e\u5b9f\u884c\u78ba\u8a8d\r\n  On Error Resume Next\r\n  CreateObject(&quot;WScript.Shell&quot;).Run &quot;PowerShell -Version&quot;, 0\r\n  If Err.Number &lt;&gt; 0 Then Exit Function\r\n  On Error GoTo 0\r\n  \r\n  TargetString = Replace(TargetString, &quot;`&quot;, &quot;``&quot;)\r\n  TargetString = Replace(TargetString, &quot;&quot;&quot;&quot;, &quot;`&quot;&quot;&quot;&quot;&quot;&quot;&quot;)\r\n  Cmd = &quot;PowerShell -Command &quot;&quot;&#x5B;void](&#x5B;Reflection.Assembly]::LoadWithPartialName(&quot;&quot;&quot;&quot;&quot;&quot;System.Web&quot;&quot;&quot;&quot;&quot;&quot;));&#x5B;Web.HttpUtility]::UrlEncode(&quot;&quot;&quot;&quot;&quot;&quot;&quot; &amp; TargetString &amp; &quot;&quot;&quot;&quot;&quot;&quot;&quot;, &#x5B;Text.Encoding]::GetEncoding(&quot;&quot;&quot;&quot;&quot;&quot;&quot; &amp; CodeName &amp; &quot;&quot;&quot;&quot;&quot;&quot;&quot;))&quot;&quot;&quot;\r\n  EncodeURL = CreateObject(&quot;WScript.Shell&quot;).Exec(Cmd).StdOut.ReadLine\r\nEnd Function<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3067\u306f\u3001HttpUtility\u30af\u30e9\u30b9\u306eUrlEncode\u30e1\u30bd\u30c3\u30c9\u3092PowerShell\u7d4c\u7531\u3067\u547c\u3073\u51fa\u3059\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066URL\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4e0a\u8a18EncodeURL\u95a2\u6570\u306e\u7b2c\u4e8c\u5f15\u6570\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u30b3\u30fc\u30c9\u540d\u306f\u300c<a href=\"http:\/\/www.atmarkit.co.jp\/fdotnet\/dotnettips\/013enumenc\/enumenc.html\" title=\"Encoding\u30af\u30e9\u30b9\u3067\u6271\u3048\u308b\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u540d\u306f\uff1f\uff3bC#\u3001VB\uff3d\" target=\"_blank\">Encoding\u30af\u30e9\u30b9\u3067\u6271\u3048\u308b\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u540d\u306f\uff1f\uff3bC#\u3001VB\uff3d<\/a>\u300d\u3084\u300c<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/system.text.encoding.webname.aspx\" title=\"Encoding.WebName \u30d7\u30ed\u30d1\u30c6\u30a3\" target=\"_blank\">Encoding.WebName \u30d7\u30ed\u30d1\u30c6\u30a3<\/a>\u300d\u3042\u305f\u308a\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>VBScript\u304b\u3089\u308f\u3056\u308f\u3056PowerShell\u3092\u547c\u3073\u51fa\u3059\u3001\u3068\u3044\u3046\u306e\u306f\u660e\u3089\u304b\u306b\u7121\u99c4\u306a\u3088\u3046\u306b\u601d\u3044\u307e\u3059\u304c\u3001&#8221;<span style=\"color: #ff0000;\">PowerShell\u304c\u4f7f\u7528\u3067\u304d\u308bPC\u3060\u3051\u308c\u3069\u3082\u3001\u51e6\u7406\u306f\u3069\u3046\u3057\u3066\u3082VBScript\u3067\u884c\u308f\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044<\/span>&#8220;\u3068\u3044\u3046\u3088\u3046\u306a\u3001\u975e\u5e38\u306b\u7279\u6b8a\u306a\u72b6\u6cc1\u4e0b\u3067\u306f\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002(\u3082\u3057\u304f\u306f\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092VBA\u306b\u76f4\u3057\u3066\u65e2\u5b58\u306e\u30de\u30af\u30ed\u306b\u8ffd\u52a0\u3059\u308b\u3068\u304d\u304b\u2026)<\/p>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u5fdc\u7528\u3059\u308c\u3070VBS\/VBA\u304b\u3089\u81ea\u7531\u306b.NET\u306e\u81a8\u5927\u306a\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u4f7f\u3044\u3088\u3046\u306b\u3088\u3063\u3066\u306f\u4fbf\u5229\u306a\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u6700\u521d\u304b\u3089C#\u3084PowerShell\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u3070\u826f\u3044\u3001\u3068\u3044\u3046\u610f\u898b\u3092\u629c\u304d\u306b\u3059\u308c\u3070\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u672c\u984c\u306b\u5165\u308b\u524d\u306b\u307e\u305a\u306f\u4e0b\u8a18\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 \u30fb64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe11 \u30fb64\u30d3\u30c3\u30c8\u7248Office\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u51e6\u7406\u304c\u3067\u304d\u306a\u3044\uff1f\u306b\u5bfe\u3059\u308b\u8fd4\u4fe12 \u30fb64\u30d3\u30c3\u30c8\u7248O [&hellip;]","protected":false},"author":1,"featured_media":7132,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[43,139],"class_list":["post-1143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vbs","tag-url","tag-vbs"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-VBScript.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-ir","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1143"}],"version-history":[{"count":3,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1143\/revisions"}],"predecessor-version":[{"id":1147,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1143\/revisions\/1147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7132"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}