http://www.perlmonks.org?node_id=1003149


in reply to Calling Windows Batch from Perl, double-quote appearing out of nowhere

Try (in testing.bat): echo XXXXXXX  > X_%%2.log 2>&1.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»