I'm trying to create a batch file that uploads multiple selected files via a "Sendto" right click menu item.
The batch file processes the first file but subsequent files kick back an error code "unknown command" with the file name and path following. Is what I'm trying to do possible? Any help would be appreciated.
set foo="%*" WinSCP.com /command ^ "option batch continue" ^ "option confirm off" ^ "open sftp://firstname.lastname@example.org/home/davidh/" ^ "put %foo%"