[wpkg-users] cmd exit code always 0

Rainer Meier r.meier at wpkg.org
Wed Jun 24 18:20:56 CEST 2009


Hi Marc,

Marc Hennes wrote:
>> then use your command:
>> \\OB1NWS801\WPKG\Software\scripts\CheckTask.bat
>>
>> then type
>> echo %ERRORLEVEL%
>>
>> if ERRORLEVEL is 0 then there is something wrong on your side with the
>> script.
> 
> I tried that before I wrote the first mail ;) in a cmd window the scripts exits with 2 as expected.
> 
> Something else I could try?

On which version of Windows are you running the software?
You might try using "exit" without the /b switch in the .cmd script.

br,
Rainer



More information about the wpkg-users mailing list