I use the Task Sheduler to run some scripts.
So normally these scripts would work with relative links. So I can call a text file in the same order just with
(a) ---- fopen ("text_file.txt") ----
However when I use the task sheduler this will not work. when I instead use the full path in my script like
(b) ---- fopen ("C:\\data\scripts\script_1\text_file.txt") ----
the task sheduler will run my script correctly.
So my question is: can I change this? It would be much easier when I could use (a) in my scripts as I debug not from the same machine as I run the output.
PS: I posted this already in the "debugging area". But maybe this is the more appropriate Forum.