2008年7月5日土曜日

FORコマンド

例)
FOR %f IN (*.txt) DO (
More? nkf -s %f > tt.tmp
More? mv tt.tmp %f
More? )

注1) IN と ( の間には空白が必要
注2) ren コマンドを使用する場合は tt.tmp を逐一削除する必要あり

0 件のコメント: