title: when using for /f - "was unexpected at this time"
body: <p>I have the following code in a batch file named test.bat:</p>
  
  <pre><code>SET TEMP_PATH=%1%
  for /f "tokens=1,2 delims=:" %%a in {%TEMP_PATH%"} do set PATH=%%a &amp;set REVISION=%%b
  </code></pre>
  
  <p>when calling in cmd <code>test.bat somelongstring:123456</code></p>
  
  <p>I get:</p>
  
  <pre><code>{somelongstring:123456"} do set PATH=%a &amp;set REVISION=%b was unexpected at this time.
  </code></pre>
  
  <p>Can anyone tell me why I am getting this error?
  Thanks in advance!</p>