Search using Windows for files ending in jsp

I'm trying to search using the windows search one of my web directories for any uses of scriptlets. However, the search seems to be ignoring all files ending in .jsp. I searched for plain words, and that didn't work either. Is there a reason Windows ignores these files when searching?


One answer: FileSeek. It's fast, free and will do exactly what you want. It will search inside files and supports regular expressions and wildcard searches.

Try searching for *.jsp and see if any files come up.

I suggest you to use this command line utility (a kind of windows grep)

findstr /c:bla /s *.jsp

this will find recursively all files containing bla (and it will highlight the respective lines) and ending in jsp.

Windows Search won't search within files that it doesn't recognize as a known, searchable type. See this knowledge base article for a description of the problem and a registry hack to get around it for a specific file type. Note that you'd need to do this for each unrecognized file type you wanted to add.

Two possibilities:

  1. The folder isn't indexed by windows search
  2. JSP files are flagged as "file properties filter" in the windows search options.

From your "Indexing Options" control panel, add the folder. Under "Advanced", click the "File Types" tab and look for JSP. Change the index to "Index file properties and content" or whatever it's called on your system. You can also add the file type if it's not already listed.

You need to search for a wildcard this being "*" ( without the quotes ). If you'd search for *.txt you'd get all files ending in .txt and if youd write abc.** you'd get all files starting with abc.

So using wildcards will help you find what you are searching for. Try pressing F1 in the Search window ( Ctrl + F )

Using the windows built in find in files for non-standard (popular) file types (anything but .doc, .txt, etc) does not seem to work.

I use UltraEdit32 and its find in files utility to do this for JS and ASP.NET types.

Need Your Help

Android - Start a Random Activity, but no repetiiton?

java android android-intent random

So I I can create a random activity by using a Random Number generator, But What I want is if the user goes to activity 2 then the user should not be able to go back to activity 1 where the user al...

Strange binding permanence between controllers

javascript angularjs

I've got a project in which you write a note in a formulary. Then, you submit that note into an information container (now it's just an array for testing purposes, but it's intended to be a DB late...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.