How to delegate variable evaluation to the child CMD process in Windows command-line? [duplicate]
This question already has an answer here: Variables are not behaving as expected (1 answer) Closed 4 days ago. I am trying to delegate variable evaluation to the child CMD process in Windows command-line. Consider the following: set foo=bar cmd /c “set foo=rod & echo %foo%” It prints bar and not rod since the expressions […]