in reply to Re^2: Windows environment variable not set if calling from a perl program (goto :end)
in thread Windows environment variable not set if calling from a perl program
I did not say it solved your problem; I said that it shows how you can accomplish this.
It sounds like the easiest solution (given that you are so reluctant to admit that you can read the contents of your setEnv.bat) would be to add "call setEnv.bat" to the preamble that pl2bat would add to your Perl script.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Windows environment variable not set if calling from a perl program (call)
by svasa (Initiate) on Dec 08, 2015 at 16:31 UTC | |
by tye (Sage) on Dec 09, 2015 at 05:29 UTC |