Re: Batch file on Windows
A command to synchronize a remote folder to local folder
See https://winscp.net/eng/docs/scriptcommand_synchronize
X:\
is like
synchronize local X:\ /remote/path
See https://winscp.net/eng/docs/scriptcommand_synchronize