I figured it out....trailing tabs/spaces
Batch script started working fine when I removed the trailing tab spaces.
Batch script started working fine when I removed the trailing tab spaces.
"c:\program files (8x6)\winscp\winscp.com" ^
/command ^
"open %connectionString% -hostkey=* -rawsettings FSProtocol=2" ^
"synchronize remote %Source1% %Destination1% -filemask=""*|*/""" ^
"synchronize remote %Source2% %Destination2% -filemask=""*|*/""" ^
"synchronize remote %Source3% %Destination3% -filemask=""*|*/""" ^
"synchronize remote %Source4% %Destination4% -filemask=""*|*/""" ^
"exit
exit
winscp>
command prompt. It doesn't move forward to the rest of the synchronization statements.