Saturday, January 05, 2013

To sequence one command after another one can use & to do it. For example:
set test=hello & call echo %test%
set test="hello" sets the value and call echo %test% shows the result to the standard output. Note also the use of call instruction, that forces the interpreter to re-interpret echo otherwise it will not see changes made.

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...