Windows Batch files: what is variable expansion, and what does EnableDelayedExpansion mean?
Variable expansion means replace a variable enclosed in % or ! by its value. The %normal% expansion happen just once, before a line is executed. This means that a %variable% expansion have the same value no matters if the line is executed several times (like in a for command). The !delayed! expansion is performed each … Read more