I am more familiar with Bash and in Bash what I am doing here would be easy.
I would like to create a Windows batch script to download the N latest files from an FTP server and then feed the filenames to an EXE as command line parameters.
The code would be doing the following:
open ftp test.com
username
password
"get/download N latest files from the ftp folder"
"list N latest files just downloaded"
"for each filename execute 'mytest.exe filename' as a background job (in Bash: &)"
I think that to run a process asynchronously, I can use the START command.
How can this be achieved using a Batch script or the command line?
get
or anmget
. – SomethingDark Apr 22 '15 at 3:20