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