why are you calling it w/ a start /wait ? that spawns off a new shell...
and what is ERRORLEVEL set to ? i think you must run a 'exit /b %ERRORLEVEL%' to exit w/ the return code.
. . .Actually I'm not exactly sure why, I remember chasing a Windows installer error "1618 Another installation is already in progress. Complete that installation before proceeding with this install." and it was suggested that I try "Start /wait" as a workaround.
I don't have a "exit" command in the external command, but it exits with a ERRORLEVEL of 0 as far as I can tell.
I'm going to remove start /wait and echo the %ERRORLEVEL% so I can see it in the log. . thx for the help. . .