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

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -