You will need to adapt Get default login environment to your situation. Likely this involves using cmd /c your-batch-file.bat && set to output the environment.
In reply to Re: Getting the ENV from the .bat file
by Corion
in thread Getting the ENV from the .bat file
by sowndarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |