Run Program looking in wrong location for ini file

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
bluegnu
Newbie
Posts: 11
Joined: Wed Jun 28, 2006 9:09 am

Run Program looking in wrong location for ini file

Post by bluegnu » Mon Jan 22, 2007 1:35 pm

I have a program which I use at work which, when I try to run it using macro scheduler I get a message stating that the associated ini file "either it does not exist or is Read-Only"

From what I can gather the system seems to be trying to locate the ini in the Macro Scheduler directory. (if I move the ini to this directory the program starts correctly - but this isn't an ideal solution because the ini gets changed frequently and won't always be run as part of a macro)

I am using the Run Program command, the pc is using NT4. Any ideas how to resolve this?

thanks

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Mon Jan 22, 2007 2:52 pm

I think you should be able to resolve that by doing a

Change Directory>c:\directory\subdirectory\

before the RunProgram

bluegnu
Newbie
Posts: 11
Joined: Wed Jun 28, 2006 9:09 am

Post by bluegnu » Mon Jan 22, 2007 3:34 pm

Yep, that's done the trick. Thank you.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts