Why doesn't my batch script run all lines?
For compatibility with Microsoft's COMMAND
, Microsoft's CMD
has the bizarre semantic that invoking a command script within another command script terminates the invoking command script at that point.
The correct workaround for this is not the START
command. Nor is it invoking a subsidiary command interpreter process with CMD
(especially erroneously using /K
for /C
as well). It is — and has been for a couple of decades — the CALL
command.
call wsdl2java.bat
call wsdl2java.bat