On Windows, users have to manually add a line like if errorlevel 1 exit 1 after every line of code.
I am wondering if there is a way to make this the default behavior of cmd.exe, or if we should add this line automatically in every line that doesn't end with the continuation character ^.
On Windows, users have to manually add a line like
if errorlevel 1 exit 1
after every line of code.I am wondering if there is a way to make this the default behavior of
cmd.exe
, or if we should add this line automatically in every line that doesn't end with the continuation character^
.