Why not rewrite your script to do what you want?
I have another question regarding batch script. We have a file creation process that creates new file every morning then sends the file to a vendor via ftp after the file is created. I am using a Windows Task Schedule for the FTP process.
The problem I am facing here is that my batch script would not send the latest file but instead, it sends the same file over and over to the vendor every morning.
Is there anyway I can add to my batch file to check and send only the current file to the vendor?
Thanks in advance for everyone's help!