There are two possibilities to do what you are trying to do:
and then invoke those batch-file-substitute scripts from perl using do setEnv.pl
Be aware that despite its apparent simplicity, batch script is surprisingly complex.
In reply to Re: Windows environment variable not set if calling from a perl program
by BrowserUk
in thread Windows environment variable not set if calling from a perl program
by svasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |