?
Solved

searching for content inside files in win7 or 2008R2

Posted on 2014-08-15
11
Medium Priority
?
144 Views
Last Modified: 2014-08-25
how can you search for certain letters or words inside documents ?
0
Comment
Question by:25112
  • 6
  • 5
11 Comments
 
LVL 5

Author Comment

by:25112
ID: 40263324
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
 
LVL 1

Expert Comment

by:Paul Jackson
ID: 40263346
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
 
LVL 5

Author Comment

by:25112
ID: 40263370
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Expert Comment

by:Paul Jackson
ID: 40263394
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
 
LVL 5

Author Comment

by:25112
ID: 40263459
"Change How Windows Searches. " works in win7 not R2..
any thoughts for R2?
0
 
LVL 5

Author Comment

by:25112
ID: 40263469
even in win7, .sql search worked to search inside content.. but for .dtsconfig, it did not work.
0
 
LVL 1

Assisted Solution

by:Paul Jackson
Paul Jackson earned 2000 total points
ID: 40263528
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
 
LVL 5

Author Comment

by:25112
ID: 40263536
In Server Manager, Under Roles->'Add Role', I only see 'File Services', not 'File Server'. 'File Services' is already installed.
any thoughts?
0
 
LVL 1

Expert Comment

by:Paul Jackson
ID: 40263617
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
 
LVL 5

Author Comment

by:25112
ID: 40263718
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
 
LVL 1

Accepted Solution

by:
Paul Jackson earned 2000 total points
ID: 40268346
.XML files are on the list for files to search. Make sure it is ticked on your server and .dtsconfig files too.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question