in reply to how to make pp-created exe read external config values

I haven't followed all of your travails up to this post, but you may want to try the Windows environment variables. In Windows 2000, if you right click 'My Computer' and do Properties, click Advanced, then Environment Variables, you can set the base working path for your script as a system variable (or a user variable, whatever you deem appropriate). This node seems to have a good discussion of using Windows environment variables. Of course, it seems like it would be easier to me if you put the base bath in a Perl variable, but its up to you. :)

My home on the web: http://www.techfeed.net/

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

Replies are listed 'Best First'.
Re^2: how to make pp-created exe read external config values
by punkish (Priest) on Jan 04, 2005 at 23:38 UTC
    but you may want to try the Windows environment variables

    I guess my question, in short, is -- how do I feed in some variable to an already packaged .EXE before I convert it into a service? So, it is kinda like an installation issue -- I want to be able to intelligently "install" my .EXE on the target computer, give it the correct path name, and then make it into a service. From then on, it will happily read the external config file and work well.

    The node you mentioned above seems to be a discussion of CGI environment variables.