title: How can i introduce path with spaces in task scheduler?
body: <p>I am trying to create a scheduled task that executes bat file every day. The path in where i have bat file has spaces (ej: C:\Program Files (x86)\folder name with more spaces\file.bat). So the problem is that task scheduler does not work with spaces in the path.</p>
  
  <p>How can i scape the path to make task scheduler works?</p>
  
  <p>I already tried:</p>
  
  <pre><code>"C:\Program Files (x86)\folder name with more spaces\file.bat"
  
  C:\'Program Files (x86)'\'folder name with more spaces'\file.bat
  
  C:\\Program Files (x86)\\folder name with more spaces\\file.bat
  </code></pre>