Prevent extra space when setting variable on Windows command line
You can do this
set "foo=hello" && echo test
set foo=hello&& echo test
works fine over here,
echo "%foo%"
prints
"hello"
:)
You can do this
set "foo=hello" && echo test
set foo=hello&& echo test
works fine over here,
echo "%foo%"
prints
"hello"
:)