Re: Unknown Command "/script"
                You have to execute 
For details see:
https://winscp.net/eng/docs/guide_automation
        winscp.com /script... from Windows command prompt, not from WinSCP command prompt.
For details see:
https://winscp.net/eng/docs/guide_automation