>>257
シェルを使う。

#!/bin/sh
i=1
for f in *.jpg
do
mv $f ER`printf %03d $i`.jpg
((i++))
done