Robert Pyron - 2014-12-30
  • SETLOCAL ENABLEDELAYEDEXPANSION is available at least since Windows XP, but may require changing a registry setting. I have no way to try this.
  • From http://ss64.com/nt/delayedexpansion.html, "One downside of DelayedExpansion is that processing a file with a ! in the filename will be interpreted as a variable, this is not a common occurence, but it can cause scripts to fail".