in reply to
Re^2: Issue with env variables set through dos batch
in thread Issue with env variables set through dos batch
In general if you set ENV variables in a shell and then launch a program from that shell's environment, the program will inherit the environment variables.
I you want some ENV variables to apply to any command line window, Go to Control Panel|System|Environment Variables, change them and then set them "to apply to all future command line windows". This is for example, how you would set "PATH" to be persistent.
If this is a "one off" thing, then I would pass special settings as part of @ARG.