title: Using subprocess.Popen (shell=True) with windows folders
body: <p>I'm currently looking at <code>Popen</code> to automate the compression &amp; storage of documents.</p>
  
  <p>For the compression part, I thought of the following Python line:</p>
  
  <pre><code>subprocess.Popen("WinRAR.exe a -r c:\\03. Notes\\AllTexts *.txt", shell=True)
  </code></pre>
  
  <p>I keep having error messages, as the command is not able to deal with a folder name that contains a space (<code>03. Notes</code>).
  This question was asked before several times, and, I must say that I tried all propositions: raw string, double quotes, triple quotes, ... None of them worked. </p>
  
  <p>As I can't change the folder names, and I have no more ideas to try, could someone advise how could I possibly pass this command line successfully ?</p>