in reply to Re^5: how to make pp-created exe read external config values
in thread how to make pp-created exe read external config values

that is a good idea. Thanks. I will see if that will work for me.

The problem, thus far, has been that a perl program converted to Windows service needs to have everything hard-coded. That is because the Windows service manager is dumb and can't figure out relative path names. You solution might work -- make the exe figure out its path. In fact, I think there is a perl special var that holds the path and name of the script being run.

Many thanks.

  • Comment on Re^6: how to make pp-created exe read external config values

Replies are listed 'Best First'.
Re^7: how to make pp-created exe read external config values
by holli (Abbot) on Jan 05, 2005 at 18:01 UTC
    if that doesn´t work use $ENV{'SystemRoot'} (mostly c:\windows) and put your .conf there.