Re: Two things: exit command and ovewriting of the log file
This is correct. Make sure there's no space after all
If you have problems, post a complete batch file as an attachment.
^
's and there's at least one space on the following lines. See https://winscp.net/eng/docs/faq_batch_file
If you have problems, post a complete batch file as an attachment.