Differences
This shows you the differences between the selected revisions of the page.
2014-09-17 | 2014-09-18 | ||
batch anchor (martin) | exit code of a batch file (martin) | ||
Line 480: | Line 480: | ||
echo File exists, do something | echo File exists, do something | ||
rem Do something | rem Do something | ||
- | exit | + | exit 0 |
:error | :error | ||
echo Error or file not exists | echo Error or file not exists | ||
+ | exit 1 | ||
</code> | </code> | ||