title: Batch file not working: Spaces in path
body: <pre><code>set RF_PROPERTIES="%ARCOT_HOME%\conf"
  dir %RF_PROPERTIES%
  if not exist %RF_PROPERTIES%
  goto NO_RF_PROPERTIES
  </code></pre>
  
  <p>The ARCOT_HOME variable above has spaces. The dir command works and lists the files, but the if command fails with "The syntax of the command is incorrect.". Is there a way to make it work? </p>