batch file - Using "setlocal enabledelayedexpansion" in cmd prompt -
does setlocal enabledelayedexpansion
work in batch file? how can setlocal enabledelayedexpansion
used in cmd prompt?
you can enable delayed expansion in command prompt command cmd /v:on
from cmd /?
:
/v:on enable delayed environment variable expansion using ! delimiter. example, /v:on allow !var! expand variable var @ execution time. var syntax expands variables @ input time, quite different thing when inside of loop.
Comments
Post a Comment