How do I run two or more COMMAND.DAT files in the ZOOM mode, without having to stay around to initialize DIFFRACT for each run?
In the beginning of each session, the user is asked to specify a working subdirectory. You can specify as many as 20 different subdirectories at this point, simply by entering their names sequentially (separated by blanks or commas). The program then begins in the first specified directory and, upon completing the run, moves to the second directory, where it starts a new run. The process thus continues until all the specified subdirectories have been exhausted. In this way, all the various COMMAND.DAT files, initially placed in separate subdirectories within DIFFRACT’s home directory, are executed independently, each within its own directory. The data-files created during each one of these multiple sessions are recorded in the corresponding subdirectory. All data-files needed by the program for a given run (including COMMAND.DAT) must reside within the same subdirectory.