Sets the Pre Processing field of the Simulation Control dialog, and SIMULATE>POSTPROCESS sets the Post Processing field. As Pre/post run command scripts explains, those scripts are not run when the model is simulated from a command script or the Vensim DLL. In a script, put the actions before and after the simulation directly, or call another script with SPECIAL>RUNCOMMAND.