title: How to escape variables with parentheses inside if-clause in a batch file?
body: <p>Running this batch file</p>
  
  <pre><code>@echo off
  set a=some value with (parentheses) inside
  if 1 == 1 (
      set PATH=%a%
  )
  </code></pre>
  
  <p>gives <code>inside was unexpected at this time.</code> error.</p>
  
  <p>How to escape <code>a</code> variable to avoid this error?</p>