I'm not too sure about the portable version - maybe try substituting winscp.exe and see what happens.
Or test with a different path..
The log output for batch processes is written to
M:\Abteilung\winscp\WinSCPPortable\Data\settings\winscp.log - which is the default -
and not to the file specified in the command
here is my command
M:\Abteilung\winscp\WinSCPPortable\WinSCPPortable.exe /console
/log=M:\Produktion\excel\real\Warenbestand\ftp\sFTP\WB.log
/script=M:\Produktion\excel\real\Warenbestand\ftp\sFTP\WB.par
here is the par
option echo off
option batch abort
option confirm off
open nice@duseyt2
cd daten
cd sap
lcd M:\Produktion\excel\real\Warenbestand\Textfiles
get KERTexteLUBZL
exit
Please help