Windows 7 Forums


Windows 7: Relative Links do not work with task sheduler

26 Mar 2012   #1

Windows 7 professionell x64
 
 
Relative Links do not work with task sheduler

Hi guys,

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.



Greetings,
Peter
My System SpecsSystem Spec

Reply

 Relative Links do not work with task sheduler problems?



Thread Tools



Similar help and support threads for: Relative Links do not work with task sheduler
Thread Forum
Relative Links do not work with task sheduler Software
Solved Links don't work in any pdfs I download Software
Web links don't work under Win7 Software
Problem runing task sheduler when user not logged on? General Discussion


All times are GMT -5. The time now is 08:01 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32