<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kurukuru-papa</author_name>
  <author_url>https://blog.hatena.ne.jp/kurukuru-papa/</author_url>
  <blog_title>kurukuru-papaのブログ</blog_title>
  <blog_url>https://kurukurupapa.hatenablog.com/</blog_url>
  <categories>
    <anon>ExcelVBA</anon>
  </categories>
  <description>' DOSコマンドを実行する ' 2008/12/22 新規作成 Public Sub U_Exec(cmd As String, resultArr As Variant) Dim wsh Dim exec Dim resultStr ' 前準備 Set wsh = CreateObject(&quot;WScript.Shell&quot;) Set exec = wsh.exec(&quot;%ComSpec% /c &quot; &amp; cmd) ' コマンド実行 Do While exec.Status = 0 DoEvents Loop ' 標準出力を取得する resultStr = exec.StdOut.ReadAll …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurukurupapa.hatenablog.com%2Fentry%2F20081223%2F1230044797&quot; title=&quot; MS-DOSコマンドを実行し、結果を取得する - kurukuru-papaのブログ&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>2008-12-23 00:06:37</published>
  <title> MS-DOSコマンドを実行し、結果を取得する</title>
  <type>rich</type>
  <url>https://kurukurupapa.hatenablog.com/entry/20081223/1230044797</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
