Re: how can we do with the windows batch..
You can call the VB script from the Windows batch file:
https://winscp.net/eng/docs/script_download_most_recent_file#scripting
https://winscp.net/eng/docs/script_download_most_recent_file#scripting