Is it possible to declare a variable and use it in the same line? For example (this doesn't work):
set foo="bar" && echo %foo%
to print bar
.
Is it possible to declare a variable and use it in the same line? For example (this doesn't work):
set foo="bar" && echo %foo%
to print bar
.
set "foo=bar" && call echo %^foo%