When setting a variable like this:
> set foo=hello && echo test
then the value of the variable foo contains an extra unwanted space:
> echo "%foo%"
"hello "
How do I prevent this extra space? It disappears when I omit the && echo test part, but I need to use && for other reasons.