<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kunst1080</author_name>
  <author_url>https://blog.hatena.ne.jp/kunst1080/</author_url>
  <blog_title>くんすとの備忘録</blog_title>
  <blog_url>https://kunst1080.hatenablog.com/</blog_url>
  <categories>
    <anon>Windows</anon>
    <anon>BAT</anon>
  </categories>
  <description>例として以下の条件で考えます。 フォルダ: Desktop 拡張子: *.txt このとき、Desktopフォルダ以下の*.txtファイルの一覧は以下のコマンドで表示できます。 dir /s /b Desktop\*.txt /sは再帰検索、/bはファイル名のみ表示するオプションです。少し気持ち悪い指定ですが、これでDesktop以下の全てのサブディレクトリに存在する*.txtファイルを表示できます。 ファイル一覧が表示できたので、この結果をfor文に渡します。 例として、ファイルリストの前後にAAAとBBBを付けてechoします。 for /f &quot;usebackq tokens=*&quot; %%i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkunst1080.hatenablog.com%2Fentry%2F2017%2F08%2F07%2F232530&quot; title=&quot;BATファイルで特定フォルダ以下の特定の拡張子のファイルに対して処理を実行する方法 - くんすとの備忘録&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>2017-08-07 23:25:30</published>
  <title>BATファイルで特定フォルダ以下の特定の拡張子のファイルに対して処理を実行する方法</title>
  <type>rich</type>
  <url>https://kunst1080.hatenablog.com/entry/2017/08/07/232530</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
