<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cartooh</author_name>
  <author_url>https://blog.hatena.ne.jp/cartooh/</author_url>
  <blog_title>cartoohのメモ</blog_title>
  <blog_url>https://cartooh.hatenadiary.org/</blog_url>
  <categories>
    <anon>bat</anon>
    <anon>windows</anon>
  </categories>
  <description>for %%i in (*.htm) do @( setlocal set j=%%i set k=!j:~0,-4!.html echo %%i !k! ren %%i !k! endlocal )よくある、htm の拡張子からhtmlの拡張子へ変える例。 cmd /v:onとして遅延環境変数を展開するようにしないとちゃんと動かないけどね。 にしても調べてみるもんだね。まさかここまでできるとはね。ヘルプは全然役に立たなかったけど。 set /?すると結構色々できることが判明。で、ちょっと試しにやってみました。 他にも,cmd,for,ifとかの/?を見てみると結構書いてあって面白いかも。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcartooh.hatenadiary.org%2Fentry%2F20060821%2F1156171781&quot; title=&quot;windowsのバッチファイルでファイルの拡張子を一括変換 - cartoohのメモ&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-08-21 23:49:41</published>
  <title>windowsのバッチファイルでファイルの拡張子を一括変換</title>
  <type>rich</type>
  <url>https://cartooh.hatenadiary.org/entry/20060821/1156171781</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
