Is there any official shebang marker which automaticly choose related sofistik version (or installation)?
I am sorry no. The latest program version installation will be written in the registry. If you double click on any file this version will be used to open the software.
My recommendations are
- always open the software first to make sure which version you are using and open the file from the software itself
- I use version year inside the filename, e.g. test 01_2020.dat or test01_2020.sofistik
There is an unofficial way which works at least since version 2012:
The sofistik-file may be opened as a text-file and there is an entry:
Some years ago I used a cmd-file for *.sofistik-files to start the apporiate version:
FOR /f “tokens=3 delims=<>” %%a IN (‘findstr “<major_version>” %1’) DO (
IF %sof_version%==2016 (
start “SSD 2016” “C:\Program Files\SOFiSTiK\2016\ANALYSIS_33_X64\ssd.exe” %1
IF %sof_version%==2014 (
start “SSD 2014” “C:\Program Files (x86)\SOFiSTiK\2014\ANALYSIS_30\ssd.exe” %1
You may adopt it for your versions.