Re: external file with connection settings
At windows registry I edit key
HKEY_CLASSES_ROOT\Applications\WinSCP.exe\shell\open\command"C:\Program Files\WinSCP\WinSCP.exe" /script="%1"
But it's doing nothink :(
It should do something, but hidden. Make sure to add /console switch to make the console visible.