I have written a little interpreter which can run scripts. For convenience, I associated the file type (.apol) with my interpreter located in "C:\Apol\Interpeter.exe" so whenever I double click a .apol file the Script interpreter will pop up and run this file.
but heres my problem. lets assume my script looks like following:
f = openfile("data.txt") //pseudocode
of course, windows will look in the directory of "C:\Apol\" first for this file, but what I actually want, is that windows will look in the directory of my Scipt file instead of my Interpreter, is this somehow possible to set up?