title: Delete string in multiple files in directory with cmd
body: <p>:-)</p>
  <p>I'm very new to cmd-commands and .bat-stuff, so would be grateful if any of you could help me with a problem.</p>
  <p>So...I have a folder with 116 .txt files.
  All these .txt files contain lines starting with a &quot;#&quot; and some other lines starting with &quot;---&quot;.</p>
  <p>I figured that <strong>findstr /v /L /C:&quot;#&quot; test.txt &gt; test2.txt</strong> works in creating a new file without any lines that contain &quot;#&quot;</p>
  <p>Now my question, is it possible to write something like findstr /v /L /C:&quot;#&quot; &amp; &quot;---&quot; *.txt &gt; *.txt ?
  The goal is that each existing file is overwritten and all lines containing either &quot;#&quot; or &quot;---&quot; are removed.</p>
  <p>Glad for any help!</p>
  <p>Cheers,
  Dyz</p>