Windows String Search (commandline)

In case, you are looking for a quick string search within files on a Windows machine, you can use the “findstr” tool:

E.g.:

findstr /i /s "my_string_abc"  <folder path>

In the abve example, we use the following modifiers:
/i indicates do a case insensitive search

and

/s search in sub directories

using * instead of <folder path>  would search for all files from the current folder and below.

You can also find additional information about findstr at  http://ss64.com/nt/findstr.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s