LITIGATION SUPPORT TIP OF THE NIGHT

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer. All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information. This policy is subject to change at any time. The owner is not an attorney, and nothing posted on this site should be construed as legal advice. Litigation Support Tip of the Night does not provide confirmation that any e-discovery technique or conduct is compliant with legal, regulatory, contractual or ethical requirements.

Featured on the ACEDS blog.

Follow me on Twitter and see How-To Videos on my YouTube channel.

New tips for paralegals and litigation support profesionals are posted to this site each night. Click on the blog headings for better detail.

findstr to search a text file for matching strings

December 16, 2016

I've posted about findstr in the past on July 5, 2016, when I explained how to use the Windows command to search for specified string, and on July 6, 2016 when I discussed how to search just the beginning or ending of text files. This night's tips shows how you can use findstr to search through one long text for a list of terms in another text file.

We write the command this way, after pressing SHIFT + CTRL right click, and choosing 'Open command window here' from the menu which appears.

findstr /X /G:bountyhunters.txt characterlist.txt >results.txt

. . . so findstr is the command; the operator /X tells it to look for lines that match exactly; /G: specifies the file containing the strings you want to look for; the text file you're searching comes next; and with > we specify an output file.