Use EXIT_DOS_ERROR (30) when exiting because of errors.