Subject: | Feature Request: set environment variable only in batch script |
Date: | Sat, 27 Aug 2016 20:03:35 +0200 |
To: | bug-Perl-Dist-Strawberry [...] rt.cpan.org |
From: | Milania <perl_strawberry [...] milania.de> |
Dear reader
I just wanted to add a small feature request to the batch script used in
the distribution: portableshell.bat. I added for myself the line
if "%1" == "setenv" goto END
above line 22. This gives me the opportunity to call the script with
portableshell.bat setenv
from another program. Then only the environment variables are set
without user interaction (cmd /K) necessary.
Just as notice, if you may want to add this line to the distribution as
default.
Best regards,
Milania