Running a Windows shortcut with prowin32.exe and -b (PROPATH issue) - Forum - OpenEdge Development - Progress Community

Running a Windows shortcut with prowin32.exe and -b (PROPATH issue)

 Forum

Running a Windows shortcut with prowin32.exe and -b (PROPATH issue)

This question is not answered

Hi,

As above I have a windows shortcut with the following;

Target;

C:\OE102B\bin\prowin32.exe -b -basekey ini -ininame RunTasks.ini -pf RunTasks.pf -p RunTasks.r -param '1,2,3'

Start In;

C:\.....jobs.

My problem is that the PROPATH does not seem to getting set. My RunTasks.p file tries to access a static property of a class;

...utilities.LoadConfig:pConfig = ipcConfigPath NO-ERROR.

But I get the error;

LoadConfig error: Static instance failed to load. Cannot reference ....utilities.LoadConfig. (14631)

I tried to instanciate an instance class too but with no luck. The error was;

** "...taskscheduler.TaskScheduler" was not found. (293)

My ini file looks correct. I also tried not using an ini file and using a starter program to set the correct PROPATH and call my RunTasks.p, also with no luck.

Can anyone help with this?

Thanks,

Mark.

All Replies
  • Hi Mark,
     
    No problem.
     
    The .\ means current directory (whatever that happens to be from moment to moment).  I don’t recommend using relative paths in the propath because it is too easy on windows for the current directory to change.
     
    Brian