Eric Pouech : cmd: Improve return code / errorlevel handling.