OK, you have another problem in your batch file. I believe it's quite obvious. You didn't replace the placeholder
with an actual path. So WinSCP tries to log to a folder that does not exist. Use a real path.
If this still does not help, please post your new complete script/batch file. A log file can be useful too.
Also make sure you have read complete article I've linked above. It deals with common problems people have when using WinSCP from a batch file: