in reply to calling .EXE through Perl script
C:\> for %f in (test\*.txt) do youprogram.exe %f [download]