Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Relative Links do not work with task sheduler


27 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

PS: I posted this already in the "debugging area". But maybe this is the more appropriate Forum.

My System SpecsSystem Spec
.

Reply

 Relative Links do not work with task sheduler




Thread Tools



Similar help and support threads for2: Relative Links do not work with task sheduler
Thread Forum
Relative Links do not work with task sheduler General Discussion
html links in word do not work now Microsoft Office
Solved Links don't work in any pdfs I download Software
IE8 web page links fail to work Browsers & Mail
Web links don't work under Win7 Software
Problem runing task sheduler when user not logged on? General Discussion

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 08:03 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33