title: mysql command line generate 2 files from 1 source
body: <p>If I would like to generate 2 files(same data,same file name but different path) How can I do this?</p>
  
  <p>Here is my code</p>
  
  <pre><code>mysql -h -u -p -e "select * from customer" prdb&gt; D:\patha.txt
  mysql -h -u -p -e "select * from customer" prdb&gt; C:\patha.txt
  </code></pre>
  
  <p>Please suggest if there is a better way to do.</p>