I have made a batch file to run some teddy files through sps.exe, see excerpt below:
@echo off set no_waves=100 set shift=0 "C:\Program Files\SOFiSTiK\2020\SOFiSTiK 2020\sps.exe" ".\01_Model\AQUA\Materials.dat" "C:\Program Files\SOFiSTiK\2020\SOFiSTiK 2020\sps.exe" ".\01_Model\SOFIMSHC\Geometry.dat"
As my project is quite large, I have created a folder structure for each SOFiSTiK module with relevant teddy files in them (
When running sps.exe it places all the output files within the active subfolder, which means the next teddy file it runs can’t find the previous output files.
Is there any way to set a working directory for sps to save all output in the
\01_Model folder instead of in the active subfolder?
I could of course write a piece of code in the batch file that moves all files except .dat into the
\01_Model folder after the run, but it just seems cumbersome, so hopefully there’s a smarter way?