SPM2-Batch processing is enabled by preparing a structure containing the options and information to control SPM actions normally accessed through the SPM GUI. This simplifies processing of multiple files using the same procedures.