Errorlevel always 0 NT 4
Hi,
I'm using a simple put winscpscript.txt to scp a file:
On the other hand, I'm using a NT batch like this:
Unfortunately, the exit code is ALWAYS
you plug off the network cable.
Of course, there's a timeout of winscp.
I've read all your docs and suggestions about this topic and tried out a lot of things to check if NT4 has a problem with errorlevels but I still can't find why you always return
Please help!
Thanks in advance!
I'm using a simple put winscpscript.txt to scp a file:
On the other hand, I'm using a NT batch like this:
:retryloop winscp3.com /script=winscpscript.txt echo errorlevel=%errorlevel% if %errorlevel% neq 0 goto retryloop delete localfile*.*
0
, which means that the local file is always deleted even if
you plug off the network cable.
Of course, there's a timeout of winscp.
I've read all your docs and suggestions about this topic and tried out a lot of things to check if NT4 has a problem with errorlevels but I still can't find why you always return
0
.
Please help!
Thanks in advance!