Re: Problem passing a parameter from .bat file to script
It's
See https://winscp.net/eng/docs/scripting#arguments
winscp.com /script="script.txt" /xmllog="script.log" /parameter "20160701"
See https://winscp.net/eng/docs/scripting#arguments