6.2.5. Modify Default Behavior in Project Preparation

Specify destination of files

-prep_dir <directory path as absolute or relative to your current working dir>

The -prep_dir keyword allows you to specify where the prepared/extracted files go. If the directory specified does not exist, it will be created as will any higher-level directories along the specified path. The prepared files are then extracted/created in this specified location. If the specified location is the directory containing the project file, then a copy of the project file is made first to avoid the prepared version of the project file overwriting the existing project file.


Note:  When -prep_dir is used with the -restart_file option, the absolute path to the restart file must be provided.


Force overwrite of project data

--prep_force

The --prep_force keyword is needed if the location you specify already has project run results that would be deleted as part of the preparation task. Using this keyword would allow you to repeatedly run within the same directory, but would delete/overwrite previous results. If this keyword is not provided and there are results, then the project preparation will not proceed.