Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Search doesn't work for numbers in contents of a file


03 Oct 2012   #1

Windows 7 Enterprise 64bit
 
 
Search doesn't work for numbers in contents of a file

I'm having no luck figuring this out. So I hope you guys will be able to help.

The search function doesn't work for me when I search for partial numeric strings.

I created a text file and put 123456789 inside it.

Search only seems to find the text file when I do a search for the exact numeric string (contents:123456789)

If I try to search for 34567 (contents:34567) it will not find the file.

The folder I'm searching in is not indexed. But I've also tried indexing it and checked the advanced indexing options. For txt files I checked off Index Properties and File Contents

Also tried adding wildcards and it still won't find the file.


My System SpecsSystem Spec
.

03 Oct 2012   #2
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Welcome to SF vividsix.
I just tried the same experiment and save the txt file to the desktop. It shows up in search after I type "1234" but not before.
My System SpecsSystem Spec
03 Oct 2012   #3

Windows 7 Enterprise 64bit
 
 

Thanks Britton30 for the warm welcome.

I tried the same search and 1234 worked. It seems like anything in the middle of the 123456789 string, search won't find.

What's strange is I opened the search to the entire system for 23456 and windows found the Alphabet.xml file (C:\Program Files\Common Files\microsoft shared\ink) That file has 123456789 inside which is the same string that's in my test.txt file. But windows only found the Alphabet.xml and not the test.txt.

How I came about this is I need to routinely search a text file for a 11 digit numeric string in lines that have 200+ digits and search would not find it.
My System SpecsSystem Spec
.


03 Oct 2012   #4
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Search is odd to say the least. The 1234 search brought up all sorts of files with 1234 in the middle or end.
Can you name your files to make them easier to find? Or maybe just the first 4 digits of the string will work.
My System SpecsSystem Spec
04 Oct 2012   #5

Windows 7 Enterprise 64bit
 
 

Unfortunately I can't. I have a lot of text files in a folder that have records that contain 200+ digits per line and I need to search for a 11 digit string in that particular folder in order to find the line that I need.

Maybe I'll use AstroGrep instead.
My System SpecsSystem Spec
04 Oct 2012   #6

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by vividsix View Post
Unfortunately I can't. I have a lot of text files in a folder that have records that contain 200+ digits per line and I need to search for a 11 digit string in that particular folder in order to find the line that I need.

Maybe I'll use AstroGrep instead.
The best search software I have found is Agent Ransack from Mythicsoft. It's free and can be downloaded from;

http://www.mythicsoft.com/page.aspx?type=agentransack&page=home

HTH
My System SpecsSystem Spec
04 Oct 2012   #7
4wd

W8+8.1, W7 ult+hp, XP
 
 

Attachment 1: Windows 7

Attachment2: Agent Ransack


Attached Thumbnails
Search doesn't work for numbers in contents of a file-att1.jpg   Search doesn't work for numbers in contents of a file-att2.jpg  
My System SpecsSystem Spec
04 Oct 2012   #8
4wd

W8+8.1, W7 ult+hp, XP
 
 

Out of curiosity, tested the same in W8 (much improved search interface btw. Index on, File Types ok, Index Properties & File Contents ticked, Advanced options > File contents ticked) but... nothing


Attached Thumbnails
Search doesn't work for numbers in contents of a file-w8.png  
My System SpecsSystem Spec
06 Mar 2014   #9

Maryland
 
 
This same thing happens to me...

We have thousands and thousands of files that have the format <drawing number><designer initials>-<job number> <cust./job name>

For instance

the format for one of my drawing names would be "3412JO-52006 cree.pdf"

when is search for "cree", it pops up

when i type in "52006" - (which is the most important search when trying to find all the drawings for a job) it returns no results.

This worked fine in XP, but cannot get it to work in 7.

Could really use some help, I use this search format every day, several times a day.
My System SpecsSystem Spec
06 Mar 2014   #10

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by joetremble View Post
We have thousands and thousands of files that have the format <drawing number><designer initials>-<job number> <cust./job name>

For instance

the format for one of my drawing names would be "3412JO-52006 cree.pdf"

when is search for "cree", it pops up

when i type in "52006" - (which is the most important search when trying to find all the drawings for a job) it returns no results.

This worked fine in XP, but cannot get it to work in 7.

Could really use some help, I use this search format every day, several times a day.
It is always a good idea to start your own thread. But, since we are already here, have you tried Agent Ransack?
My System SpecsSystem Spec
Reply

 Search doesn't work for numbers in contents of a file




Thread Tools



Similar help and support threads for2: Search doesn't work for numbers in contents of a file
Thread Forum
I don't want to search file contents General Discussion
Search text file contents for special character General Discussion
search results doesn't show file contents found and not highlighted General Discussion
search file contents getting worse General Discussion
How to search inside file contents on removable device? General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:49 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33