I am using wincron to run php script via php.exe. My problem is that when script is executed, it will run as it is located in the place where wincron is located not in the directory, when script actually is. My question is how can i fix that, is there any additional parameters i can throw to php.exe beside script file location. My current fix is that i use chdir function in script file and manually give it the right location.
Thanks in advance.