Page 1 of 1

prevent file name from printing on new text file

Posted: 15 Feb 2011 10:06
by Ilneval
I need to know how to prevent the file name from printing at the top of a new text file.

For example, I am using a very simple batch.

Findstr "string of text" Source.txt>>EndFile.txt
Findstr "String of text" Source2.txt>>Endfile.txt

When I view the output, I see the following

-----------Source.txt
Text copied from Source document
-----------Source2.txt
Final text from Source 2 document


How do I prevent it from printing ---------Source.txt and ----------Source2.txt

I know this should be simple

Re: prevent file name from printing on new text file

Posted: 15 Feb 2011 10:38
by Ilneval
Just figured it out. Sorry to bother anyone