C:\temp>perl -pe 1 foobar~1.bat metlml~1.pin hi hello C:\temp>