http://www.perlmonks.org?node_id=1071813


in reply to How to Configure parsable path on Windows2008R2 IIS7

First, clarify your question for us!

I suspect the reference to cgi is gratuitous; that you're merely trying to cascade commands (in the local OS) on a single machine rather than to work thru Apache or some other server ap that uses CGI.

If I'm wrong, please correct me as part of your clarification. You'd also make this easier to understand with a simple ASCII flow-chart or a narrative that makes it clear what you mean by...

"I have added C:\Inetpub\wwwroot\perlscripts to my PATH System variables ... how to I configure Perl now to see that ?"

Simply put, you don't configure your Perl64 "to see that" -- AFAIK, you can't, except inside your scripts (on a per script, per execution basis). In any case, Perl doesn't care much, unless you are calling an executable from other than your current working directory,in which case, the smart way to do it is to code the executable's full path into the script calling the executable.

And, of course, if you're talking about setting some environmental variables that are needed by the (hypothesized) executable (or cascaded script), you have a whole different can of worms.

So -- please, help us to help you. Clear up the mysteries.

Come, let us reason together: Spirit of the Monastery