Re: Script hangs on prompt to accept new host key
No. You should not do this at all. If you still need to pass session name on command line, you can do:
winscp.com /command "option batch abort" "open xxx" /script=sss
But make sure there are no spaces in session name.
winscp.com /command "option batch abort" "open xxx" /script=sss
But make sure there are no spaces in session name.