title: Trouble running a batch file with a space in the path and space in the argument
body: <p>I am trying to run a batch file that's located in:</p>
  
  <pre><code>C:\Test Batch\BatchTest.bat
  </code></pre>
  
  <p>That will copy a file from another specified location, let's say</p>
  
  <pre><code>C:\Users\UserName\Desktop\Company Downloads\downloadedDoc.doc
  </code></pre>
  
  <p>I can run the batch file as:</p>
  
  <pre><code>cmd  /c start "" "C:\Test Batch\TestBatch.bat"
  </code></pre>
  
  <p>And the batch actually does run.</p>
  
  <p>But when I try to add an argument for it to copy like this:</p>
  
  <pre><code>cmd  /c start "" "C:\Test Batch\TestBatch.bat" "C:\Users\User Name\Desktop\Company Downloads\downloadedDoc.doc"
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>'C:\Test' is not recognized a an internal or external command, operable program or batch file.
  </code></pre>
  
  <p>Ultimately the batch file and file to be copied will be specified by a user and will likely have spaces in the names or path. So a simple answer to use paths without spaces will not suffice.</p>