PLANTERRORLEVEL

Controls the display of confirmation, warning, and error dialog boxes.

This variable can be set to zero (0) to suppress dialogs for scripting.

Type: Switch
Saved in: Registry
Initial value: 2
0 Do not display confirmation, warning, or error dialog boxes.
1 Display warning and error dialog boxes.
2 Display confirmation, warning, and error dialog boxes.