Windows not returning all search results

B

Brian

Windows XP

I have a folder that contain perhaps 100 text files, with extension .sql.
These are DB2 patches. I can rename them as .txt and open them the same in
Notepad, so presumably the format is just txt. I may have added the .sql
association with Notepad.

However, when I attempt to search the folder for strings inside the files,
the results are hit-and-miss. I can open a file, copy a phrase, paste it into
the search parameter, and I get results on some searches, but not on others.
I just opened a file at random, copied "GENERATE_GLTRANS_ID" from it, and
pasted it into the search window (file contents, not file name), and got no
results. However, I can do the same with another phrase and get results (it
is possible that some phrases are also in file names).

How can I force Windows XP to search all files/types?
 
R

Randem

You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.rndem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org
 
R

Randem

You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.rndem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org
 
B

Brian

Thank you. That did the trick.

Randem said:
You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.rndem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


Brian said:
Windows XP

I have a folder that contain perhaps 100 text files, with extension .sql.
These are DB2 patches. I can rename them as .txt and open them the same in
Notepad, so presumably the format is just txt. I may have added the .sql
association with Notepad.

However, when I attempt to search the folder for strings inside the files,
the results are hit-and-miss. I can open a file, copy a phrase, paste it
into
the search parameter, and I get results on some searches, but not on
others.
I just opened a file at random, copied "GENERATE_GLTRANS_ID" from it, and
pasted it into the search window (file contents, not file name), and got
no
results. However, I can do the same with another phrase and get results
(it
is possible that some phrases are also in file names).

How can I force Windows XP to search all files/types?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top