<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chaichanPaPa</author_name>
  <author_url>https://blog.hatena.ne.jp/chaichanPaPa/</author_url>
  <blog_title>旧燈明日記</blog_title>
  <blog_url>https://chaipa.hateblo.jp/</blog_url>
  <categories>
    <anon>VB-TIPS</anon>
  </categories>
  <description>VB6では、実行ファイルがあるディレクトリが、カレントディレクトリになります。 しかし、VBSやVBAでは、WSH本体やEXCEL本体のあるディレクトリが、カレントディレクトリになります。 したがって、VBスクリプト(.vbs)やEXCELブック(.xls)があるディレクトリのパス情報も必要になるケースがあります。 以下は、そのパス情報取得のスクリプトです。 VBSの場合 Dim vntCurrentDirectory Dim objWshShell Set objWshShell = WScript.CreateObject(&quot;WScript.Shell&quot;) vntCurrentDirect…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaipa.hateblo.jp%2Fentry%2F20061216%2F1166233994&quot; title=&quot; カレントディレクトリの求め方 - 旧燈明日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-12-16 10:53:14</published>
  <title> カレントディレクトリの求め方</title>
  <type>rich</type>
  <url>https://chaipa.hateblo.jp/entry/20061216/1166233994</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
