適当なところでやめよう。できるだけシンプルに。
バッチファイルでファイルパスからファイル名や拡張子を自由に取り出す方法
http://d.hatena.ne.jp/orangeclover/20101004/1286120668
学習ノート バッチファイル基礎文法リファレンス
http://kshibamo.web.fc2.com/
炎のコマンドプロンプト入門
繰り返し処理
http://www.geocities.co.jp/SiliconValley-SanJose/1227/batfor.html
環境変数
http://www.geocities.co.jp/SiliconValley-SanJose/1227/variable.html#replace