prevent file name from printing on new text file
Posted: 15 Feb 2011 10:06
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
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