This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


is True if input in the current session is being fed directly to the Mathematica kernel in batch mode.
  • $BatchInput can be reset during a Mathematica session.
  • When $BatchInput is True, Mathematica terminates if it ever receives an interrupt, does not discard input when blank lines are given, and terminates when it receives end-of-file.
New in 2