Re: waitonreturn doesn't work
The very purpose of the Windows
This is not WinSCP question.
start
command is to run something in a separate window without blocking the original process. Remove it. I do not know, what language/environment your code is in (some kind of VB?), but removing whole C:\Windows\System32\cmd.exe /c start
should do.
This is not WinSCP question.