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
In reply to Re^3: Windows environment variable not set if calling from a perl program (call)
by tye
in thread Windows environment variable not set if calling from a perl program
by svasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |