Batch File Creator

(Example: %03d.png for 001.png, 002.png etc.)
(id.)

Given a list of inputs, such as echo, "test" >, %01d.txt, 5, 3 and 2, this script will create a list of statements I can use in say a console, e.g.

echo "test" > 3.txt
echo "test" > 5.txt
echo "test" > 7.txt
echo "test" > 9.txt
echo "test" > 11.txt

The input and output fields allow for a limited set of PHP printf-modifiers, namely the flags '+', '-', SPACE and '0', a numeric width value and the specifiers b, d, o, s, u, x and X.

See the examples (above, or behind the link) for inspiration if you have no idea what the previous paragraph means.