Re: Winscp run without opening cmd window
Simple: don't include the "/command" switch when you call your script.
Almost :) It's /console argument that needs to be omitted. Also make sure you are running winscp.exe, not winscp.com. For winscp.com the console cannot be suppressed.
https://winscp.net/eng/docs/commandline#scripting