I tried running an .inp file like this (Windows 10, Topas 6.1):
It tells me that it can't find "rttem9.dxx", which I discovered is a file in the installation directory of TOPAS. So I copied that file to my current folder, ran the same command again and looked what happened.
The files that it demanded, bit by bit, were different .inc files, which are all located in the root directory of TOPAS.
So it seems that if I run tc from a remote directory that isn't the TOPAS directory, it won't be able to find all the program data necessary to run TOPAS.
I've added the Topas dir to the system path variable and tc responds, but it seems like it can't find these files from the location that I am running the command.
Is this normal? Do I have to copy my files to C:\Topas6 each time I want to run one of my .inp files? Did I do something wrong which causes it to not find it's own files?
EDIT: Does it matter if TOPAS is installed on drive C:\ and the folder is on a partition E:\?
The paths look like this
C:\Topas-6
E:\my\folder\path
Idk if that influences anything...
EDIT2: So copying everything to the C:\ drive changes nothing. Do I really have to run my inp files inside the Topas root directory?
So I guess my real question is the following:
Why does tc look for the TOPAS program files at the location where the command is executed and not at the location where they're actually installed?
If I run the command:
tc foo
from the folder inps\measurement1.
It's gonna demand that the program files like rttem9.dxx will be at inps\measurement1\rttem9.dxx
Why would it assume that it's own program files are at the location the tc command is executed? I added it's folder to the system path variable, it should know where it's own program files are, right???