searching for content inside files in win7 or 2008R2

how can you search for certain letters or words inside documents ?
LVL 5
25112Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

25112Author Commented:
the kind of documents I have at hand are
.sql
.dtsconfig
.bat

there are certain texts that I would like to search for inside these files. the regular search feature does not seem to pull it?
0
Paul JacksonICT Officer - Networks and Infrastructure Commented:
Open MY Computer
Click on Organize > Folder and Search Options.
Click on the Search tab.
Choose the option "Always search file names and contents"


folders.PNG
0
25112Author Commented:
that did not bring results back, though..

other than "Always search file names and contents", do you need to enable anything more for .sql, .dtsconfig, .bat files.

(can you create random text files and rename as .sql, .dtsconfig, .bat files in your folder and search please?)

I tried the above for a .txt file and that also did not work...
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Paul JacksonICT Officer - Networks and Infrastructure Commented:
This site gives a good tutorial on how to add file types to the search

http://www.wikihow.com/Make-Windows-7-Search-File-Contents
0
25112Author Commented:
"Change How Windows Searches. " works in win7 not R2..
any thoughts for R2?
0
25112Author Commented:
even in win7, .sql search worked to search inside content.. but for .dtsconfig, it did not work.
0
Paul JacksonICT Officer - Networks and Infrastructure Commented:
To do it in 2008R2 you need to install the search option.
Add roles > File Server then on the next screen add the add the Windows Search Service.
Now when you type Search in to the search box you will see the option "Change how Windows searches".
Here you can click on the Advanced button, then the File Type tab.
The at the bottom add the file extension .dtsconfig
Also choose the Index Properties and File Contents radio button option for all the files you want to search.
0
25112Author Commented:
In Server Manager, Under Roles->'Add Role', I only see 'File Services', not 'File Server'. 'File Services' is already installed.
any thoughts?
0
Paul JacksonICT Officer - Networks and Infrastructure Commented:
Sorry I meant File Services.
Right click on File Services under the Roles and then click Add Roles Services, then choose Windows Search Services.
0
25112Author Commented:
thank you - it is working except .dtsconfig files, which are xml files.. it seems like windows just can't do search (index) on xml?
0
Paul JacksonICT Officer - Networks and Infrastructure Commented:
.XML files are on the list for files to search. Make sure it is ticked on your server and .dtsconfig files too.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.