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
prevent file name from printing on new text file
Moderator: DosItHelp
Re: prevent file name from printing on new text file
Just figured it out. Sorry to bother anyone