Thanks for coming back on this - just wondered if I'd missed something.
If/when you get to consider this further, an alternative might be to (optionally?) display the actual retrieved hostname in the tab. When I use Putty in a similar (tunnelled) fashion the window name changes to "username@actualhostname".
No you cannot control session name from command-line.
Will consider adding such an option.
Is there a way to control the session tab name when launching winscp from the command line?
My use case is that I am using SSH Local port forwarding to a number of target hosts.
When I load via "winscp.exe scp://email@example.com:20010" all the tabs show "firstname.lastname@example.org" and don't show the port and therefore a user can't (easily) distinguished between.
I have worked round this by creating sessions for each of my target hosts in winscp e.g. "VM20010", "VM20011" to match the ports used, but I would prefer to interact with winscp dynamically and avoid advance setup.