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

Popular posts from this blog

smartface.io - Proper way to change color scheme for whole application -

javascript - three.js lot of meshes optimization -

Email notification in google apps script -