Is there any way to enable execution-time variable extensions for CMD.XA (usually cmd / V: current
) without starting a new instance of CMD.exe?
Similarly, can other settings / flags be changed when flying?
Try this:
setlocal enabledelayedexpansion
There is also
Setyocol enabled extension
which is equivalent to cmd / E: ON
.
Reference: setlocal /?
.
Comments
Post a Comment