title: Howto add a string to the 'type <filename>' DOS command before merging into file?
body: <p>Question: I've several text files containing sql create table/column/view/storedProcedure textfiles. Now I want to merge the textfiles into one textfile.</p>
  
  <p>I go into the directory, and type:</p>
  
  <pre><code>type *.sql &gt;&gt; allcommands.sql
  </code></pre>
  
  <p>Now to problem is I should add the text ' GO ' after every file's content.</p>
  
  <p>I can append Go by doing </p>
  
  <pre><code>type *.sql &gt;&gt; allcommands.sql &amp; echo  GO  &gt;&gt; allcommands.sql
  </code></pre>
  
  <p>But this only inserts go once.
  How can I accomplish this with DOS commands ?</p>