Correctly for what? If you wanted to enable the
group XML log element, then yes.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
group XML log element, then yes.
del /f /s /q example.log
"C:\Program Files (x86)\WinSCP\winscp.com" /script=SyncToRemote.txt /xmllog=example.log /xmlgroups
pause
/xmlgroups set correctly?
/loglevel to change the log level.
del /f /s /q example.log
"C:\Program Files (x86)\WinSCP\winscp.com" /script=SyncRemoteScript.txt /log=example.log
pause