views:

59

answers:

3

Can anone recommend a tool for searching my visual studio projects folders to find a specific string value?

I have many solutions / projects stored in either the d:\VS2005 or the d:\VS2008 folder depending on the VS version used to create the project. I'm looking for a string and do not have the foggiest idea which project or solution it is in. Any suggestions?

+4  A: 

CTRL+SHIFT+F and change Look-in to be c:\path\to\your\code.

Edit: Or, from the command line in the root of where you want to search:

findstr /spin /c:"STRING-YOU-ARE-LOOKING-FOR" *.*

Or *.cc or *.h or whatever you want to look through.

jeffamaphone
findstr is woefully underused.
Svend
+1  A: 

I use WinGrep.

Matthew Vines
A: 

Entrian Source Search is a Visual Studio add-in that does exactly this. (Full disclosure: I'm the author.)

RichieHindle