The following commands are useful in scripts that are to be run in batch mode:
NOQUERY - instructs the program not to pause after warning messages and to choose defualt answers (such as replacing files) for basic queries.
QUIT REPLACE @ - instructs the program to quit and save the session files without displaying the Session Save dialog. The command QUIT NOSAVE @ can be used if you want to quite without saving the session files. The NOSAVE option is most useful when you have written results of interest to a REPORT file or saved model parameters using PSAVE commands after important fits.