What is the difference between
ECHO %foo%
and simply
%foo%
In my case the first prints x
and the second prints y
, where the "correct" value, the one I want to be returned through Environment.GetEnvironmentVariable("foo")
is the ECHO
ed one, x
.
I can't figure out how to fix y
to be x
. When I run
SET
I see
foo=x
which is what I expect. Where is y
coming from?