- martin
@echo off
winscp.com /command "open test_session" "option batch abort" "option confirm off" "get test.dat" "close" "exit"
echo %errorlevel%
Using beta 5.0.6, the last echo is not done. It seems that the exit closes the batch. Using 4.3.7 I get the errorlevel.