<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>adbird</author_name>
  <author_url>https://blog.hatena.ne.jp/adbird/</author_url>
  <blog_title>adbird（広告鳥） 備忘録</blog_title>
  <blog_url>https://adbird.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Windowsの標準機能で複数ファイルを選択した状態でリネームした場合、「(1)」のような半角カッコつき連番のファイル名に変わるのだが、それを「_1」のように変える方法。 以下の内容で、「連番数字調整.bat」として保存する。 echo off for %%f in ( * ) do call :sub &quot;%%f&quot; exit /b :sub set fname=%1 set fname=%fname: (=_% set fname=%fname:)=% ren %1 %fname% goto :EOF エクスプローラーのアドレス欄に「shell:sendto」として、開いた場所に上記の「連番数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fadbird.hatenablog.com%2Fentry%2F2022%2F04%2F19%2F172813&quot; title=&quot;Windowsのファイル名の連番を変える - adbird（広告鳥） 備忘録&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>2022-04-19 17:28:13</published>
  <title>Windowsのファイル名の連番を変える</title>
  <type>rich</type>
  <url>https://adbird.hatenablog.com/entry/2022/04/19/172813</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
