If the command to be executed during the calculation involves saving a file, you should include a special character in the file name when you enter it in The Select File Dialog Box so that the solver will know to assign a new name to each file it saves. See Automatic Numbering of Files for details about these special characters for filenames.
Important: Note that the Calculation Activities task page provides options to perform the following during the calculation:
save case and data files
export transient solution files
export transient particle history data files
Each of these options has their own dialog box, which should be used rather than the Execute Commands dialog box. See Automatic Saving of Case and Data Files and Exporting Data During a Transient Calculation for details.