title: Piping to findstr's input
body: <p>I have a text file with a list of macro names (one per line). My final goal is to get a print of how many times the macro's name appears in the files of the current directory.</p>
  
  <p>The macro's names are in <code>C:\temp\macros.txt</code>.</p>
  
  <p><code>type C:\temp\macros.txt</code> in the command prompt prints the list alright.</p>
  
  <p>Now I want to pipe that output to the standard input of <code>findstr</code>.</p>
  
  <p><code>type C:\temp\macros.txt | findstr *.ss</code>
  (ss is the file type where I am looking for the macro names).</p>
  
  <p>This does not seem to work, I get no result (very fast, it does not seem to try at all). <code>findstr &lt;the first row of the macro list&gt; *.ss</code> does work. </p>
  
  <p>I also tried <code>findstr *.ss &lt; c:\temp\macros.txt</code> with no success.</p>