K
Keith Hill
Is there a way to get a batch file to exit with a particular exit code (-1
in my case) when *any* command executed in the batch file sets ERRORLEVEL >=
1? It is kind of a pain to check the errorlevel after every command.
in my case) when *any* command executed in the batch file sets ERRORLEVEL >=
1? It is kind of a pain to check the errorlevel after every command.