Differences
This shows you the differences between the selected revisions of the page.
2016-01-22 | 2016-03-02 | ||
parameter anchors (martin) | exit the batch file only (martin) | ||
Line 126: | Line 126: | ||
echo Success | echo Success | ||
sendmail.exe -t < success_mail.txt | sendmail.exe -t < success_mail.txt | ||
- | exit 0 | + | exit /b 0 |
:error | :error | ||
echo Error! | echo Error! | ||
sendmail.exe -t < error_mail.txt | sendmail.exe -t < error_mail.txt | ||
- | exit 1 | + | exit /b 1 |
</code> | </code> | ||