I would like JMP to pick up a "template-table" from the same directory that the script is located. This pathway may vary depending on user due to network setup (for example for me the disk is named K but for other users it might be named L or N). I've managed to use the following "fixed" link:
TempTable = "K:\...\TableTemplate.jmp";
open (TempTable);
(this setup works)
the data table is located in the same directory as the script, therefore I would reason that I should be able to use:
TempTable ="..\[folder]\TableTemplate.jmp"
open (TempTable);
However this doesnt work.
Could anyone please give me suggestions on how to locate the folder where the script (not the table) is stored on the server.
Kind Regards
Anders