Synchronize - After the command, the batch isn't interrupted

Advertisement

dnz77
Guest

Synchronize - After the command, the batch isn't interrupted

Hello, adding to my batch the synchronize command, the script don't terminate. It works as intended, but the script won't terminate, as it do removing the command. Am I doing something wrong?
This is my script:
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
   /xmllog="%logsfolder%\%data%_%ora%-[Upload].xml" /ini=nul ^
   /command ^
   "open ftp://**************************/" ^
   "lcd ""%axfs%\BtoE\""" ^
   "cd /import" ^
   "put *.CSV" ^
   "lcd ""%axfs%\Leaflet""" ^
   "cd /attachments/leaflet" ^
   "synchronize remote"
"exit"
Thanks

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum