title: The filename, directory name, or volume label syntax is incorrect system call from qt creator c++
body: <p>When I run the command <code>C:\My Programs\CPU Analysis\scripts\ruinIODump.bat</code> from the command line, the command runs fine, but when I run the command from qt creator as: </p>
  
  <pre><code>system("\"\"C:\\My Programs\\CPU Analysis\\generateSanity_Scripts\\runIODump.bat\"\" \"\"C:/My\ Programs/CPU\ Analysis/iodump/065901_iodump.txt\"\"")
  </code></pre>
  
  <p>I get the error: <code>The filename, directory name, or volume label syntax is incorrect.</code></p>
  
  <p>...</p>
  
  <p>I've tried running the commands in the .bat file directly through the system() command and I've tried changing the quotation marks and I've tried using escape characters, but I keep getting the same error.  How can I get the .bat file to run from qt creator? I looked at the other SO questions similar to this, but none of them answered my question.  </p>