title: MSDOS - "The system could not find the file specified"
body: <p>I am trying to copy the contents of a log file to another log file using this command:</p>
  
  <pre><code>type \\server\f$\Test path\Test.log &gt;&gt; \\server2\f$\Logs\Testpath\Test.log
  </code></pre>
  
  <p>This has always worked in the path, but recently I have changed the location (path) to Test.log.  The path is slightly longer.  I now get an error:</p>
  
  <blockquote>
    <p>The system could not find the file specified</p>
  </blockquote>
  
  <p>I have googled this statement and the common responses are: 1) check the filename exists, 2) check the filename is not corrupt 3) Check the server is online.  </p>
  
  <p>I have done all of this.  Is there a restriction on the number of characters a path can have? If there is then is there a workaround?</p>
  
  <p><strong>UPDATE 12/07/2012 09:49 GMT</strong>
  Adding quotes around the path seems to resolve the problem.  Why does adding quotes resolve the problem?</p>