Help!

find file containing text inside the file

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> File Management RSS
Next:  Vista search function lacks date window  
Author Message
rgrainer
External


Since: May 10, 2007
Posts: 4



PostPosted: Thu May 10, 2007 11:38 am    Post subject: find file containing text inside the file
Archived from groups: microsoft>public>windows>vista>file_management (more info?)

Please tell me how can I find a file, such as a text file, that contains a
specific string within the file. For example I create (AutoCAD) Autolisp
programs with an extention of *.lsp which is just a basic text file that
contains my code. In XP (I got rid of the dog and set it up to the advanced
appearance) I just clicked on the search button and entered *.lsp (in the
first box that says "All or part of the file name:") and in the box below
that says "A word or phrase in the file:" I could enter a particular word
that I was sure was in one of my files such as: slope or distance or drain.
In XP this worked very well and I still do it dozens a time a day. Now as I
transition to Vista I need to have this ability, it's a must have. Please let
me know how i can do this. Thanks
Richard
Back to top
Dave Johnson [MSFT]
External


Since: Mar 21, 2007
Posts: 50



PostPosted: Thu May 10, 2007 12:27 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Richard,

The reason that you can't currently do full text searches is becuase the
index is conservative about what file types it crawls to improve your
computer's performance. What you need to do is to add the .lsp file
extension to the index so it looks for these files.

To do that, open Indexing Options in the Control Panel and click Advanced,
then click the File Types tab. Add the .lsp file type and be sure to click
the option to "index properties and file contents."

After the index has had a chance to update, you can type a word or phrase in
the search box to find the file with that text in the contents.

Depending upon where you store these files, you might also need to add the
location to the index. If you keep these files somewhere in your user folder
(Documents, Pictures, Music, etc) you're fine. Otherwise, in the Indexing
Options, click Modify and add the folder to the list of Indexed Locations.

Hope this helps.

--
Dave Johnson
Windows User Assistance team
Microsoft Corporation
Back to top
rgrainer
External


Since: May 10, 2007
Posts: 4



PostPosted: Thu May 10, 2007 12:59 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave
Thanks for the reply. I already had the lsp extension indexed but have
redone the indexing and letting it build index right now. But I am still not
clear on what to type in the search pane to find a .lsp file that contains a
word in the file. Do I need to follow some sort of format or syntax for the
search?
please tell me exactly what I need to type to find the following:

a .lsp file that contains the word "defun" (no quotes in the file...just
shown here for clarity) in the files contents.

By the way I can't really believe that this type of search option (the
ability to search for a word or phrase in the file) has been removed from
vista interface. Is there some reason for this?
Thanks
Richard

"Dave Johnson [MSFT]" wrote:

> Richard,
>
> The reason that you can't currently do full text searches is becuase the
> index is conservative about what file types it crawls to improve your
> computer's performance. What you need to do is to add the .lsp file
> extension to the index so it looks for these files.
>
> To do that, open Indexing Options in the Control Panel and click Advanced,
> then click the File Types tab. Add the .lsp file type and be sure to click
> the option to "index properties and file contents."
>
> After the index has had a chance to update, you can type a word or phrase in
> the search box to find the file with that text in the contents.
>
> Depending upon where you store these files, you might also need to add the
> location to the index. If you keep these files somewhere in your user folder
> (Documents, Pictures, Music, etc) you're fine. Otherwise, in the Indexing
> Options, click Modify and add the folder to the list of Indexed Locations.
>
> Hope this helps.
>
> --
> Dave Johnson
> Windows User Assistance team
> Microsoft Corporation
>
Back to top
Dave Johnson [MSFT]
External


Since: Mar 21, 2007
Posts: 50



PostPosted: Fri May 11, 2007 9:06 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Richard, to find all the files with the string "defun" in the body of the
document, just type "defun" in the search box. That's really all you need to
do.

The ability to do a full text search hasn't been removed from Windows, it's
been made easier to do so you don't have to dig deep in advanced search
options to turn it on. Believe it or not, many casual users didn't even know
it was possible to do a full text search in Windows XP. Now you just type a
word or phrase and search finds it automatically, without the need to find
additional settings.

If you definitely want to only include a specific file type, then you could
type this in the search box instead:

defun type:lsp

That filters the results to only show files with the indicated file type.

You can learn more about how search works by reading this help topic:

http://windowshelp.microsoft.com/Windows/en-US/Help/73106209-6df0-432a...b7-df5d

--
Dave Johnson
Windows User Assistance team
Microsoft Corporation
Back to top
Dave Wood [MS]
External


Since: Dec 21, 2006
Posts: 105



PostPosted: Fri May 11, 2007 9:12 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You just type into the search box. By default file contents, filenames,
e-mail bodies etc. are all searched automatically.

So you could type: defun *.lsp

Or something like: defun ext:lsp


"rgrainer" <rgrainer.RemoveThis@discussions.microsoft.com> wrote in message
news:A0BF20A8-FC84-49B7-82C8-4AE6A5C255C6@microsoft.com...
> Dave
> Thanks for the reply. I already had the lsp extension indexed but have
> redone the indexing and letting it build index right now. But I am still
> not
> clear on what to type in the search pane to find a .lsp file that contains
> a
> word in the file. Do I need to follow some sort of format or syntax for
> the
> search?
> please tell me exactly what I need to type to find the following:
>
> a .lsp file that contains the word "defun" (no quotes in the file...just
> shown here for clarity) in the files contents.
>
> By the way I can't really believe that this type of search option (the
> ability to search for a word or phrase in the file) has been removed from
> vista interface. Is there some reason for this?
> Thanks
> Richard
>
> "Dave Johnson [MSFT]" wrote:
>
>> Richard,
>>
>> The reason that you can't currently do full text searches is becuase the
>> index is conservative about what file types it crawls to improve your
>> computer's performance. What you need to do is to add the .lsp file
>> extension to the index so it looks for these files.
>>
>> To do that, open Indexing Options in the Control Panel and click
>> Advanced,
>> then click the File Types tab. Add the .lsp file type and be sure to
>> click
>> the option to "index properties and file contents."
>>
>> After the index has had a chance to update, you can type a word or phrase
>> in
>> the search box to find the file with that text in the contents.
>>
>> Depending upon where you store these files, you might also need to add
>> the
>> location to the index. If you keep these files somewhere in your user
>> folder
>> (Documents, Pictures, Music, etc) you're fine. Otherwise, in the Indexing
>> Options, click Modify and add the folder to the list of Indexed
>> Locations.
>>
>> Hope this helps.
>>
>> --
>> Dave Johnson
>> Windows User Assistance team
>> Microsoft Corporation
>>
Back to top
rgrainer
External


Since: May 10, 2007
Posts: 4



PostPosted: Fri May 11, 2007 10:24 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave
Thanks for the reply. It finally makes sense and I can now find what I'm
looking for because of your reply as well as Dave Woods comments (in the next
reply)

this makes it clear
>defun type:lsp


This is from the help file you referenced (which i had read previous to
posting my question)

>A more specific indication of the file's content. The last three letters of the file name, called the file >name extension, identify the file type. Common types include DOC (Microsoft Word document), XLS
>(Microsoft Excel spreadsheet), JPG (JPEG image), and MP3 (a standard digital audio format).

However in no part of the help file does it mention the use of the word
"ext" to deliniate extention as shown in the next reply to my post by Dave
Wood where he spells it out as shown below:

>So you could type: defun *.lsp

>Or something like: defun ext:lsp
The above makes it really clear.

and you write in your reply:
>If you definitely want to only include a specific file type, then you could
>type this in the search box instead:

>defun type:lsp

again this does not appear in the referenced help article. There is mention
of file types but if you made clear examples of uses of the word "type" as
well as "ext" and how to use it when searching more obvious in your (MS) help
article I think it would help more people to understand how to search with
greater effectiveness. In other words I searched the web and help files for
this information and finally had to resort to this forum in order to find
this critical information. Please consider updating the help to illustrate
this feature.
Thanks again to both of you for providing me with help
Richard


"Dave Johnson [MSFT]" wrote:

> Richard, to find all the files with the string "defun" in the body of the
> document, just type "defun" in the search box. That's really all you need to
> do.
>
> The ability to do a full text search hasn't been removed from Windows, it's
> been made easier to do so you don't have to dig deep in advanced search
> options to turn it on. Believe it or not, many casual users didn't even know
> it was possible to do a full text search in Windows XP. Now you just type a
> word or phrase and search finds it automatically, without the need to find
> additional settings.
>
> If you definitely want to only include a specific file type, then you could
> type this in the search box instead:
>
> defun type:lsp
>
> That filters the results to only show files with the indicated file type.
>
> You can learn more about how search works by reading this help topic:
>
> http://windowshelp.microsoft.com/Windows/en-US/Help/73106209-6df0-432a...b7-df5d
>
> --
> Dave Johnson
> Windows User Assistance team
> Microsoft Corporation
>
Back to top
rgrainer
External


Since: May 10, 2007
Posts: 4



PostPosted: Fri May 11, 2007 10:28 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave I replied with my comments to both of you in the post from Dave Johnsons
reply to me.
Thanks for spelling it out and please consider my reply to Dave Johnson
about updating your help files to clarify the use of the words "type" and
"ext"

thanks
Richard

"Dave Wood [MS]" wrote:

> You just type into the search box. By default file contents, filenames,
> e-mail bodies etc. are all searched automatically.
>
> So you could type: defun *.lsp
>
> Or something like: defun ext:lsp
>
>
> "rgrainer" <rgrainer.RemoveThis@discussions.microsoft.com> wrote in message
> news:A0BF20A8-FC84-49B7-82C8-4AE6A5C255C6@microsoft.com...
> > Dave
> > Thanks for the reply. I already had the lsp extension indexed but have
> > redone the indexing and letting it build index right now. But I am still
> > not
> > clear on what to type in the search pane to find a .lsp file that contains
> > a
> > word in the file. Do I need to follow some sort of format or syntax for
> > the
> > search?
> > please tell me exactly what I need to type to find the following:
> >
> > a .lsp file that contains the word "defun" (no quotes in the file...just
> > shown here for clarity) in the files contents.
> >
> > By the way I can't really believe that this type of search option (the
> > ability to search for a word or phrase in the file) has been removed from
> > vista interface. Is there some reason for this?
> > Thanks
> > Richard
> >
> > "Dave Johnson [MSFT]" wrote:
> >
> >> Richard,
> >>
> >> The reason that you can't currently do full text searches is becuase the
> >> index is conservative about what file types it crawls to improve your
> >> computer's performance. What you need to do is to add the .lsp file
> >> extension to the index so it looks for these files.
> >>
> >> To do that, open Indexing Options in the Control Panel and click
> >> Advanced,
> >> then click the File Types tab. Add the .lsp file type and be sure to
> >> click
> >> the option to "index properties and file contents."
> >>
> >> After the index has had a chance to update, you can type a word or phrase
> >> in
> >> the search box to find the file with that text in the contents.
> >>
> >> Depending upon where you store these files, you might also need to add
> >> the
> >> location to the index. If you keep these files somewhere in your user
> >> folder
> >> (Documents, Pictures, Music, etc) you're fine. Otherwise, in the Indexing
> >> Options, click Modify and add the folder to the list of Indexed
> >> Locations.
> >>
> >> Hope this helps.
> >>
> >> --
> >> Dave Johnson
> >> Windows User Assistance team
> >> Microsoft Corporation
> >>
>
>
Back to top
Dave Wood [MS]
External


Since: Dec 21, 2006
Posts: 105



PostPosted: Fri May 11, 2007 4:53 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well that doc isn't meant to be absolutely exhaustive {hence the title}. It
does mention you can use *.<ext> which would get similar results.

There's a more complete syntax guide here:
http://www.microsoft.com/windows/desktopsearch/addresources/advanced3.mspx

You are right we should try and make the complete syntax more easily
accessible.


"rgrainer" <rgrainer.RemoveThis@discussions.microsoft.com> wrote in message
news:55B02473-D59E-4F4C-B86C-41BBD207D990@microsoft.com...
> Dave
> Thanks for the reply. It finally makes sense and I can now find what I'm
> looking for because of your reply as well as Dave Woods comments (in the
> next
> reply)
>
> this makes it clear
>>defun type:lsp
>
>
> This is from the help file you referenced (which i had read previous to
> posting my question)
>
>>A more specific indication of the file's content. The last three letters
>>of the file name, called the file >name extension, identify the file type.
>>Common types include DOC (Microsoft Word document), XLS
>>(Microsoft Excel spreadsheet), JPG (JPEG image), and MP3 (a standard
>>digital audio format).
>
> However in no part of the help file does it mention the use of the word
> "ext" to deliniate extention as shown in the next reply to my post by Dave
> Wood where he spells it out as shown below:
>
>>So you could type: defun *.lsp
>
>>Or something like: defun ext:lsp
> The above makes it really clear.
>
> and you write in your reply:
>>If you definitely want to only include a specific file type, then you
>>could
>>type this in the search box instead:
>
>>defun type:lsp
>
> again this does not appear in the referenced help article. There is
> mention
> of file types but if you made clear examples of uses of the word "type" as
> well as "ext" and how to use it when searching more obvious in your (MS)
> help
> article I think it would help more people to understand how to search with
> greater effectiveness. In other words I searched the web and help files
> for
> this information and finally had to resort to this forum in order to find
> this critical information. Please consider updating the help to illustrate
> this feature.
> Thanks again to both of you for providing me with help
> Richard
>
>
> "Dave Johnson [MSFT]" wrote:
>
>> Richard, to find all the files with the string "defun" in the body of the
>> document, just type "defun" in the search box. That's really all you need
>> to
>> do.
>>
>> The ability to do a full text search hasn't been removed from Windows,
>> it's
>> been made easier to do so you don't have to dig deep in advanced search
>> options to turn it on. Believe it or not, many casual users didn't even
>> know
>> it was possible to do a full text search in Windows XP. Now you just type
>> a
>> word or phrase and search finds it automatically, without the need to
>> find
>> additional settings.
>>
>> If you definitely want to only include a specific file type, then you
>> could
>> type this in the search box instead:
>>
>> defun type:lsp
>>
>> That filters the results to only show files with the indicated file type.
>>
>> You can learn more about how search works by reading this help topic:
>>
>> http://windowshelp.microsoft.com/Windows/en-US/Help/73106209-6df0-432a...b7-df5d
>>
>> --
>> Dave Johnson
>> Windows User Assistance team
>> Microsoft Corporation
>>
Back to top
steedj
External


Since: May 21, 2007
Posts: 1



PostPosted: Mon May 21, 2007 6:35 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have the same problem as Richard, the only difference is that the
files I'm looking for are on the network. wich doen't allow me to find
the files.

Vista search returns nothing, where Xp was returning all I needed. I'm
getting really frustrated as I go through different search programs
because vista is unable to help me there.

I select search, tick the "search non indexed files" type the string
I'm looking for and nothing..


Jonathan

PS: I've added the file extention in the list of files to search.


--
steedj
------------------------------------------------------------------------
steedj's Profile: http://forums.techarena.in/member.php?userid=25828
View this thread: http://forums.techarena.in/showthread.php?t=744814

http://forums.techarena.in
Back to top
Zeerover
External


Since: Mar 09, 2009
Posts: 1



PostPosted: Mon Mar 09, 2009 7:50 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I also have the same problem as Richard. I have a folder full of .aspx
files and want to search for those containing a particular word or
phrase. In XP you would set the filetype to .aspx and set "Containing
text:" to the phrase you are interested in, hit "Search" and get a
result. I've tried everything I can think of in Vista with no luck.
(tried setting "Always search file names and contents" and various other
settings. Read Windows Search Advanced Query Syntax at
http://www.microsoft.com/windows/products/winfamily/desktopsearch/tech...alresou

Perhaps Dave Johnson's solution works, but on my system indexing is not
running, and I don't want to start running it either, so setting
indexing options isn't an option for everyone. I just want Search to
plod through and give a result without having to worry if the index is
up to date etc.

The solution for me ended up being to download free, no adware
AgentRansack 'Agent Ransack - home'
(http://www.mythicsoft.com/agentransack/) which simply installed and
worked. But I'd prefer a Windows solution if there is one. As Dave
pointed out, apparently Windows filters out certain file extensions,
making their Search function unreliable. You never know whether a file
actually doesn't exist or whether they simply decided to overlook it - a
feature similar to hiding file extensions and system files in folder
options.


--
Zeerover
Back to top
hybridmoments82
External


Since: Aug 27, 2009
Posts: 1



PostPosted: Thu Aug 27, 2009 2:03 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I've been following this thread since I found it via Google. Very
informative. I was wondering if there was any way to index a network
location or would I have to index on the server? I tried to use the
indexing service via Control Panel, but it doesn't seem to pick up any
of my mapped network drives. Is there a way I can index a network
location on my local Vista machine?

To add to the problem, I'm running Home Premium x64. Am I limited
because of the Vista package I'm using? Can Business accomplish this
task?

Thanks!


--
hybridmoments82
Back to top
user
External


Since: Feb 12, 2007
Posts: 673



PostPosted: Thu Aug 27, 2009 9:10 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

http://support.microsoft.com/kb/918996

--
..
--
"hybridmoments82" <guest.RemoveThis@unknown-email.com> wrote in message
news:3da16a4ff67eb7a2481192e9a697e51d@nntp-gateway.com...
>
> I've been following this thread since I found it via Google. Very
> informative. I was wondering if there was any way to index a network
> location or would I have to index on the server? I tried to use the
> indexing service via Control Panel, but it doesn't seem to pick up any
> of my mapped network drives. Is there a way I can index a network
> location on my local Vista machine?
>
> To add to the problem, I'm running Home Premium x64. Am I limited
> because of the Vista package I'm using? Can Business accomplish this
> task?
>
> Thanks!
>
>
> --
> hybridmoments82
Back to top
pacinitaly
External


Since: Feb 06, 2009
Posts: 22



PostPosted: Sun Aug 30, 2009 10:13 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

try this


+-------------------------------------------------------------------+
|Filename: Capture.JPG |
|Download: http://www.vistax64.com/attachment.php?attachmentid=15278|
+-------------------------------------------------------------------+

--
pacinitaly

SpellCherkers aren't worth a shirt ya no

If I helped you, please tip my scales. If I have not, curse me out like
a drunken sailor
Back to top
SAnton
External


Since: Oct 21, 2009
Posts: 2



PostPosted: Wed Oct 21, 2009 5:14 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Imagine the folowing situation: I downloaded .zip-archive with thouzands
of .php-files. I unpacked the file to the folder at my Desktop (which is
indexed by default). I want to find all files containing string «Test».
So, I added «Plain text filter» to the .php files extension in the
indexing settings. Should I wait hours until the indexing will be done?
Or I can just search (more slowly)? I tryed and did not get any results!
So, I will wait. It's very annoying!

Another case: I want to find files containing Russian word
«Привет». The problem is that that
word can be encoded by different bytes depending on codepage (most
popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
if BOM present at the start of the file, file considered UTF-8,
otherwise file considered cp1251. But how about UTF-8 files which do not
have BOM mark at the beginning? When I program PHP I always remove BOM,
because othervise these BOMs are sended to the user-agent by server.
Notepad application still detects UTF-8 in such files, but Search is not
(see attached files). Also, how about KOI8? I didn't find any way to
specify encoding in search options.

Third case: how about different word forms in Russian? «One day» =
«Один день», «Three
days» = «Три дня», «Five days» =
«Пять дней», «All these
days» = «Все эти
дни»,... How I will find
«день» («day») with all possible forms?

It's a pity that Windows text search is completely useless. :(


+-------------------------------------------------------------------+
|Filename: testUTF8NoBOM.txt |
|Download: http://www.vistax64.com/attachment.php?attachmentid=16622|
+-------------------------------------------------------------------+

--
SAnton
Back to top
pacinitaly
External


Since: Feb 06, 2009
Posts: 22



PostPosted: Wed Oct 21, 2009 9:39 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

SAnton;1173259 Wrote:
> Imagine the folowing situation: I downloaded .zip-archive with thouzands
> of .php-files. I unpacked the file to the folder at my Desktop (which is
> indexed by default). I want to find all files containing string «Test».
> So, I added «Plain text filter» to the .php files extension in the
> indexing settings. Should I wait hours until the indexing will be done?
> Or I can just search (more slowly)? I tryed and did not get any results!
> So, I will wait. It's very annoying!
>
> Another case: I want to find files containing Russian word
> «Привет». The problem is that that
> word can be encoded by different bytes depending on codepage (most
> popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
> if BOM present at the start of the file, file considered UTF-8,
> otherwise file considered cp1251. But how about UTF-8 files which do not
> have BOM mark at the beginning? When I program PHP I always remove BOM,
> because othervise these BOMs are sended to the user-agent by server.
> Notepad application still detects UTF-8 in such files, but Search is not
> (see attached files). Also, how about KOI8? I didn't find any way to
> specify encoding in search options.
>
> Third case: how about different word forms in Russian? «One day» =
> «Один день», «Three
> days» = «Три дня», «Five days» =
> «Пять дней», «All these
> days» = «Все эти
> дни»,... How I will find
> «день» («day») with all possible forms?
>
> It's a pity that Windows text search is completely useless. :(

love the post!!!

try 'Super Finder 1.5.3.0 Free Download'
(http://freemedia.realgage.com/super-finder-1530.html)


--
pacinitaly

SpellCherkers aren't worth a shirt ya no

If I helped you, please tip my scales. If I have not, curse me out like
a drunken sailor
Back to top
Retroman
External


Since: Jan 26, 2009
Posts: 5



PostPosted: Wed Oct 21, 2009 10:06 am    Post subject: Re: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 21 Oct 2009 05:14:34 -0500, SAnton <guest DeleteThis @unknown-email.com>
wrote:
>
>Imagine the folowing situation: I downloaded .zip-archive with thouzands
>of .php-files. I unpacked the file to the folder at my Desktop (which is
>indexed by default). I want to find all files containing string «Test».
>So, I added «Plain text filter» to the .php files extension in the
>indexing settings. Should I wait hours until the indexing will be done?
>Or I can just search (more slowly)? I tryed and did not get any results!
>So, I will wait. It's very annoying!
>
>Another case: I want to find files containing Russian word
>«Привет». The problem is that that
>word can be encoded by different bytes depending on codepage (most
>popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
>if BOM present at the start of the file, file considered UTF-8,
>otherwise file considered cp1251. But how about UTF-8 files which do not
>have BOM mark at the beginning? When I program PHP I always remove BOM,
>because othervise these BOMs are sended to the user-agent by server.
>Notepad application still detects UTF-8 in such files, but Search is not
>(see attached files). Also, how about KOI8? I didn't find any way to
>specify encoding in search options.
>
>Third case: how about different word forms in Russian? «One day» =
>«Один день», «Three
>days» = «Три дня», «Five days» =
>«Пять дней», «All these
>days» = «Все эти
>дни»,... How I will find
>«день» («day») with all possible forms?
>
>It's a pity that Windows text search is completely useless. Sad
>
So, you find a few unusual situations that don't work as you would like
and you then conclude that Search is useless? That is laughable. I've
been using Windows Search on Vista for over two years, and overall it
works extremely well, once I learned how to use it.

Incidentally, the Desktop folder is *not* indexed by default. Try moving
your files to your Documents folder.

This forum is actually on Usenet, not on the "parasitic" Web forum that
you posted from. As a result, the HTML character entity references in
your examples are not decoded for most readers. It's unlikely that
English-speaking users are going to be able to help you anyway, since your
problems involve searching for Russian words. I suggest that you look for
a support forum for Russian-speaking users of Vista.

Doug M. in NJ
Back to top
SAnton
External


Since: Oct 21, 2009
Posts: 2



PostPosted: Wed Oct 21, 2009 10:50 am    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

pacinitaly;1173379 Wrote:
> > SAnton;1173259 Wrote:
> > Imagine the folowing situation: I downloaded .zip-archive with thouzands
> > of .php-files. I unpacked the file to the folder at my Desktop (which is
> > indexed by default). I want to find all files containing string «Test».
> > So, I added «Plain text filter» to the .php files extension in the
> > indexing settings. Should I wait hours until the indexing will be done?
> > Or I can just search (more slowly)? I tryed and did not get any results!
> > So, I will wait. It's very annoying!
> >
> > Another case: I want to find files containing Russian word
> > «Привет». The problem is that that
> > word can be encoded by different bytes depending on codepage (most
> > popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
> > if BOM present at the start of the file, file considered UTF-8,
> > otherwise file considered cp1251. But how about UTF-8 files which do not
> > have BOM mark at the beginning? When I program PHP I always remove BOM,
> > because othervise these BOMs are sended to the user-agent by server.
> > Notepad application still detects UTF-8 in such files, but Search is not
> > (see attached files). Also, how about KOI8? I didn't find any way to
> > specify encoding in search options.
> >
> > Third case: how about different word forms in Russian? «One day» =
> > «Один день», «Three
> > days» = «Три дня», «Five days» =
> > «Пять дней», «All these
> > days» = «Все эти
> > дни»,... How I will find
> > «день» («day») with all possible forms?
> >
> > It's a pity that Windows text search is completely useless. Sad> >
>
> love the post!!!
>
> try 'Super Finder 1.5.3.0 Free Download'
> (http://freemedia.realgage.com/super-finder-1530.html)

I have tryed Super Finder. It fast, perform real content search. That
is good.

First I tryed it on my folder with 300 PHP-files (don't worry, these
files are English-only). It found 3 files compared to the 1 file found
by Vista using the same search query. That is very strange: it looks
like Vista Search is approximate and unreliable. Imagine that your boss
required you to find all files containing "bucks" and replace these by
"dollars". Failed to perform this task may result in serious
consequences for you.

The bad thing is that Russian text was found only in CP1251-encoded
text files. UTF-8 files (with and without BOM) are ignored. I tryed to
check «unicode» checkbox in the Super Finder, but in that case I got
zero results. This is worse than Vista search, which at least can
recognise UTF-8 by BOM.


--
SAnton
Back to top
pacinitaly
External


Since: Feb 06, 2009
Posts: 22



PostPosted: Wed Oct 21, 2009 8:12 pm    Post subject: Re: find file containing text inside the file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

SAnton;1173442 Wrote:
> > pacinitaly;1173379 Wrote:
> > > > SAnton;1173259 Wrote:
> > > Imagine the folowing situation: I downloaded .zip-archive with thouzands
> > > of .php-files. I unpacked the file to the folder at my Desktop (which is
> > > indexed by default). I want to find all files containing string «Test».
> > > So, I added «Plain text filter» to the .php files extension in the
> > > indexing settings. Should I wait hours until the indexing will be done?
> > > Or I can just search (more slowly)? I tryed and did not get any results!
> > > So, I will wait. It's very annoying!
> > >
> > > Another case: I want to find files containing Russian word
> > > «Привет». The problem is that that
> > > word can be encoded by different bytes depending on codepage (most
> > > popular are cp1251, UTF-8, KOI8-R). I tested text search and found that
> > > if BOM present at the start of the file, file considered UTF-8,
> > > otherwise file considered cp1251. But how about UTF-8 files which do not
> > > have BOM mark at the beginning? When I program PHP I always remove BOM,
> > > because othervise these BOMs are sended to the user-agent by server.
> > > Notepad application still detects UTF-8 in such files, but Search is not
> > > (see attached files). Also, how about KOI8? I didn't find any way to
> > > specify encoding in search options.
> > >
> > > Third case: how about different word forms in Russian? «One day» =
> > > «Один день», «Three
> > > days» = «Три дня», «Five days» =
> > > «Пять дней», «All these
> > > days» = «Все эти
> > > дни»,... How I will find
> > > «день» («day») with all possible forms?
> > >
> > > It's a pity that Windows text search is completely useless. Sad> > > >
> >
> > love the post!!!
> >
> > try 'Super Finder 1.5.3.0 Free Download'
> > (http://freemedia.realgage.com/super-finder-1530.html)> >
>
> I have tryed Super Finder. It fast, perform real content search. That
> is good.
>
> First I tryed it on my folder with 300 PHP-files (don't worry, these
> files are English-only). It found 3 files compared to the 1 file found
> by Vista using the same search query. That is very strange: it looks
> like Vista Search is approximate and unreliable. Imagine that your
> boss required you to find all files containing "bucks" and replace
> these by "dollars". Failed to perform this task may result in serious
> consequences for you.
>
> The bad thing is that Russian text was found only in CP1251-encoded
> text files. UTF-8 files (with and without BOM) are ignored. I tryed to
> check «unicode» checkbox in the Super Finder, but in that case I got
> zero results. This is worse than Vista search, which at least can
> recognise UTF-8 by BOM.


sorry:(


--
pacinitaly

SpellCherkers aren't worth a shirt ya no

If I helped you, please tip my scales. If I have not, curse me out like
a drunken sailor
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> File Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum